Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
For each doesn't release all forms?
Message
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:
01241357
Vues:
50
>Naomi,
>
>Usually you can not iterate with FOR EACH in any collection while adding or removing items. Your Step - 1 solution is correct, IMO
>
>Also I do not understand why you need PemStatus for Release and QueryUnload, can be any other object other than a form be part of the form collection? I am quite sure the answer is no, right?

Toolbars are also part of _screen.Forms collection.

I think I know what my problem is, I'll try to solve it tomorrow. I need to release active form first. It looks like the toolbar is trying to release first thus I'm having a problem.

These were my thoughts when I was leaving, hopefully I'm right.

Otherwise there should be no difference between for each and looping in the reverse order.
If it's not broken, fix it until it is.


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

Click here to load this message in the networking platform