Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Selection in a ListBox doesn't stay.
Message
 
À
07/11/2000 13:06:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00438891
Message ID:
00438944
Vues:
7
>Hi,
>
>I'm using a ListBox in a form and I select one of it's item in the activate event of the form. Eventually, once the form has been loaded correctly, the user scrolls through the list and when he does, the item that was once selected is not anymore. Why is that? Why is scrolling "un-selecting" the elements in the ListBox?
>
>Thanks in advance, Stephane.
Try selecting in the init event of the ListBox. It might be interesting to have a messagebox pop in the activate event of the form. That event fires for a lot of reasons. Make sure, if you are using a character ListBox.Value to select, that it has the same length as the assigned value.
Imagination is more important than knowledge
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform