How to set the font used in ComboBox autocomplete drop-down list

In my desktop application, I use the tamil font (not unicode, but glyphs) in the ComboBox Font property.

It displays well when I enter it into it. But my auto suggestion in the DropDown window displays the default font. How to change this font?

Private Sub Billing_Shown(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Shown If My.Settings.Options_Display_UseOtherLanguage Then CustomerNameCombo.Font = My.Settings.Options_Display_OtherLanguageFont End If End Sub 

tamil in vb.net

I am using the .NET Framework v4.0

+6
source share
2 answers

enter image description here

Do you use a custom source for auto suggestion? If so, the source should also be in the same language. (i.e.), in this case, the source of the automatic guess should also be in tamil.

Else set AutoCompleteSource to ListItems where the data source is in tamil

+1
source

You should check the DropDownStyle property for the ComboBox. You must set the font for your ComboBox in the DrawItem event. The MSDN link I provided has an example that should point you in the right direction. Hope it helps.

0
source

All Articles