I am placing the font list into the ImageCombo
Box control. I found that the standard ComboBox
did not have enough flexibility as the ImageCombo
Box control. Anyways, I want to know if there is a way
to sort the items alphabeticaly in the ImageCombo Box
control.
Does anyone have any idea? There is no sorting propertyCode:'Initialize variables Dim strFont As String Dim intFont As Integer 'Populates cboFont with the system fonts For intFont = 1 To Screen.FontCount - 1 'Stores the font into a variable for faster retrieval instead of 'referencing Screen.Fonts several times. strFont = Screen.Fonts(intFont) imgcboFonts.ComboItems.Add , strFont, strFont Next
for this control so there might be a way to do this from
the Windows API.




Reply With Quote