Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Howmany rows in listbox
Message
De
18/12/2001 06:46:27
Victor Verheij
International Film Festival Rotterdam
Rotterdam, Pays-Bas
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Howmany rows in listbox
Divers
Thread ID:
00595519
Message ID:
00595519
Vues:
52
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform