Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to select item(s) in listbox through code?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00598526
Message ID:
00598532
Vues:
21
>My form has a listbox with multiselect on and I want to programatically select various items on the list.
>
>I have tried several ways to do this without success. It must be easy. Help!

Todd,
It is easy. Try myListBox.Selected(nIndex) = .T. where nIndex is the index number of the item you want to select. The index number usually equates to the order the items were added to the list.
HTH,
Winn Pauley
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform