Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cancel destroy event?
Message
 
 
À
15/07/2008 20:06:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01331480
Message ID:
01331540
Vues:
6
>Actually, I have my Collection object oForms which contains every Form in my application.
>So I put in ON SHUTDOWN goApp.MyProcedureForShutdown()
>
>
>
>
>FOR EACH loForm IN  oForms.Form
> loForm.Release()
>
>ENDIF
>
>>
>
>but still I get ReleaseType = 1.
>
You can not use the code above. You need to loop through collection using count.

I'm not sure what is the relevance of ReleaseType here.
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