Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Listbox questions...
Message
De
13/05/1999 08:27:34
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00218298
Message ID:
00218303
Vues:
21
THISFORM.lstItems.Clear()
SELE Table
SET ORDER TO SortOrder
SCAN
THISFORM.lstItems.AddItem(Table.Descript)
ENDSCAN

>What's the best way to clear a listbox?
>
>and
>
>What's the best way to relist items in a listbox that come from a table using scan...endscan? I thought by setting my counter (index) to 1 the list would start over at the top of the listbox each time through the scan...endscan. Instead, it appends (repeats) the same info within the listbox. I suspect my counter is not getting reset, but I am not quite sure if that's the cause.
>
>Thanks for the help.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform