Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Highligting a Selection in A Listbox
Message
From
17/03/2002 19:57:54
 
 
To
17/03/2002 15:28:45
Carmen Gassi
Perseus Software Systems
Oakville, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00633923
Message ID:
00633952
Views:
11
>I am trying to display a listbox with one of the selections highlighted when it becomes visible. The contents of the listbox are 3 fields from a table. When I make the listbox visible, I would like one of the records to be highlighted. I have tried various combinations of the selected property and the mouse click property as well as the click event. None of the above seem to work. I have set the focus to the listbox before setting these properties and events, but still no luck. Suggestions appreciated as always.
>
>Regards,
>Carmen

I have also encoutered this and it was usally caused by the "tab" order. Try setting the tab order to the list box as 1st. May not have anything to do with your problem but worth a check. Works the same way in grids.If not that I think there is a "ListIndex" property you can set.
Previous
Reply
Map
View

Click here to load this message in the networking platform