General information
Category:
Forms & Form designer
>Both:
>
>Thisform.combobox.listitemid = n where n is the item in the combobox you want to highlight
>
>and
>
>ThisForm.combo1.DisplayValue = "Oranges"
>
>
>selects the item but it doesn't highlight it.
>
>
>Keith
Thisform.combo1.ListIndex also selects an item. If you really want to highlight it you could try selecting the text with combo1.SelStart and combo1.SelLength.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only