Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DO FORM NAME question
Message
De
05/02/1997 14:32:53
Bruno Di Lalla
Bdl Computer Consulting
Greely, Ontario, Canada
 
 
À
02/02/1997 17:38:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00019076
Message ID:
00019386
Vues:
38
>In some place in my framework, I do DO FORM myform NAME myvariable resulting in a myvariable becoming a type Object.
>
>When the form is close, myvariable is still an Object. Should I modify my baseform to release the object or there is an automatic way of having this behavior when a form is close?

Have you tried using the LINKED keyword?

In the VFP help in says...
The LINKED keyword of the DO FORM command allows you to link the form to the form object. If you include the LINKED keyword, when the variable associated with the form object goes out of scope, the form is released.
Example: DO FORM Customer NAME frmCust2 LINKED

Hope this helps!
Bruno Di Lalla
Consultant
BDL Computer Consulting
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform