Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Loop through all selected items in a listbox
Message
De
03/01/2000 16:52:45
 
 
À
03/01/2000 16:45:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00311890
Message ID:
00311938
Vues:
30
>Nope - that's exactly what FOR EACH handles well. FOR NEXT get caught on the explicit reference to an index.

Your optimistic, thats not how it works, try closing all the Forms in the _screen.forms collections by:
for each loForm in _screen.Forms
	loFOrm.Release()
endfor
My guess is that all FOR EACH is is underneath:

FOR X = 1 TO ALEN(Collection)
Reference = Collection(x)


exactly, nothting more. You'd have to walk backwards if your killing stuff in the middle.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform