|
-
December 17th, 1999, 06:24 PM
#1
listbox help
how can I make it so that there is a list, called list1, with a number of items. The number of items varies. How can I make it so that I can erase all the items on a list1 from top to bottom. Here is the code I have got, but there is an error (see below):
b = list1.listcount
starting:
list1.removeitem(b)
if b=0 then goto ending
b=b-1
goto starting
ending:
it says that b is not compatible (ByRef Type Mismatch.) How could I do this?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|