CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2001
    Location
    Wales, UK
    Posts
    4

    How do you change the font in a combobox?

    Can anyone tell me how to change the font in a combobox? Thanks in advance.


  2. #2
    Join Date
    Apr 2000
    Location
    South Carolina,USA
    Posts
    2,210

    Re: How do you change the font in a combobox?


    Combo1.Font = "Times new Roman"
    Combo1.FontSize = 18
    Combo1.FontBold = true
    ' etc.




    John G

  3. #3
    Join Date
    Jan 2000
    Location
    Saskatchewan, Canada
    Posts
    595

    Re: How do you change the font in a combobox?

    The combo has a font property. You can can this at design time or at run time by code
    Combo1.Font = "New Times Roman"


    David Paulson

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured