Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get value of each element in a listbox
Message
De
28/01/2005 16:33:58
 
 
À
28/01/2005 16:17:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Divers
Thread ID:
00981898
Message ID:
00981902
Vues:
19
This message has been marked as the solution to the initial question of the thread.
>Hello,
>
>
>for i=1 to thisform.listbox.litscount
>   * Get values of each element of the listbox (BoundColumn=2)
>endfor
>
>
>It seems quite simple but I can't do it...
>
>Thanks !
>Steph

Try this
for i=1 to thisform.listbox.listcount
   ? thisform.listbox.List( i, 1 )       && column 1
   ? thisform.listbox.List( i, 2 )       && column 2
next
Greg Reichert
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform