Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Clearing List Boxes
Message
From
02/07/2003 07:37:16
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00805993
Message ID:
00806004
Views:
22
Hi Neil.

Can anybody tell me how you can clear the contents of a list box. the list box is for information only from an SQL query. No selections of records will take place inside the list box.

Change your RowSOurceType to 0-None and populate the listboc with the query results using its AddItem() method. Then, when you want to clear the list box, you can just use its Clear() method.
Previous
Reply
Map
View

Click here to load this message in the networking platform