Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>Hi all,
>I have a form with a listbox containing more values than the height of the listbox can display. The initial list .Value is located near the bottom of the list. When the listbox is displayed, the .Value is displayed at the bottom part of the listbox or sometimes just half of the text is displayed. Is there a way to make the .Value be the displayed at the top of listbox?
Set the list's TopIndex property to the index of the selected item:
This.TopIndex = This.ListIndex
Tamar
Précédent
Suivant
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