Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Toggle ListBox Selection in a Form
Message
 
À
25/08/1999 21:46:40
Victor Lapid
Phil. Long Distance Tel. Co.
Manila, Philippines
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00257717
Message ID:
00257729
Vues:
11
First you need to turn MultiSelect to .T. When you are ready to see which items are selected do the following:

* skip through and find selected items
FOR nCnt = 1 TO ThisForm.lstListBox1.ListCount
IF ThisForm.lstListBox1.Selected(nCnt)
* this item is selected - you can store it in an array or use
* the built in listbox array "List"
? ThisForm.lstListBox1.List(nCnt)
ENDIF
ENDFOR

Hope this helps.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform