Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Listbox questions...
Message
From
13/05/1999 08:27:34
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00218298
Message ID:
00218303
Views:
22
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform