General information
Category:
Forms & Form designer
>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
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