Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Howmany rows in listbox
Message
From
18/12/2001 06:46:27
Victor Verheij
International Film Festival Rotterdam
Rotterdam, Netherlands
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Howmany rows in listbox
Miscellaneous
Thread ID:
00595519
Message ID:
00595519
Views:
51
It's probably very simple but ....

I'm trying to write a loop that goes through a list box, but i don't know how to get the number of rows contained in the listbox.

for example:
for r = 1 to (this part is where i need help)
listrow = val(thisform.list1.list(r,1))
go val(thisform.list1.list(r,1))
delete
=messagebox(alltrim(str(listrow)) + " deleted")
endfor

thanks
Next
Reply
Map
View

Click here to load this message in the networking platform