Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
For each doesn't release all forms?
Message
 
 
À
07/10/2010 08:08:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01241310
Message ID:
01484312
Vues:
55
>>Yes, but I don't like it either. What about backward removal, does it always work? Perhaps it doesn't matter in my case and actually removing from the last item may be better (I'm trying to delete multiple selected items in the Item Tree).
>
>Yes, backward removal will always work:
>
>
>FOR nItem = oCollection.Count TO 1 STEP -1
>  oCollection.Remove(m.nItem)
>ENDFOR
>
>
>Tamar

Thanks, that's what I implemented and it worked well.

Now I have a more complex problem I'm trying to solve - I posted another thread last night.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform