Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Highlighting an item in combobox on init
Message
From
07/08/2001 16:04:44
 
 
To
07/08/2001 15:23:30
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00540829
Message ID:
00540942
Views:
28
This message has been marked as the solution to the initial question of the thread.
>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
Map
View

Click here to load this message in the networking platform