Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>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.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement