How can i display different fonts in the combo box with their font style displaying accordingly at each index when the user click the ComboBox at runtime ?
This conversation is currently closed to new comments.
Hi, This code assumes a form (form1) with a combo box(combo1) and a text box (text1). Whenever the text in combo box changes, the font changes and the new text is displayed in the text box.
My problem is that i dont want any text fields just one combo box that's it. The combo box entries should be displayed in the respected font types. i anyone can help me than please do.
The textbox in the example I sent you was to display the result of the code, it was not necessary: You can remove the text box and the code to write to the text box. I can send you the code by email if you would like. regards, Ravi
Dear Ravi, When I change one font all the fonts in the combo box also change their fontstyle which i dont want to happen. i want every font listed in the combo box to appear in its own fontstyle when i open the combo box.
If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.
ComboBox in Visual Basic