Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to set the font used in the autocomplete dropdown of a ComboBox

In my desktop application, I am using a tamil font (not unicode, but glyphs) in a ComboBox Font property.

It displays well when I type into it. But my auto suggestion in the DropDown box is displaying with the default font. How to change that font as well?

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 .NET Framework v4.0

like image 877
Lenin Raj Rajasekaran Avatar asked Oct 31 '12 12:10

Lenin Raj Rajasekaran


1 Answers

enter image description here

Are you using custom source for auto suggestion? If so the source should also be in the same language. (i.e)in this case, auto suggestion source should also be in tamil.

Else set AutoCompleteSource to ListItems, where the datasource is in tamil

like image 107
Pugazh Avatar answered Nov 09 '22 17:11

Pugazh