Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DO FORM NAME question
Message
From
05/02/1997 14:32:53
Bruno Di Lalla
Bdl Computer Consulting
Greely, Ontario, Canada
 
 
To
02/02/1997 17:38:22
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00019076
Message ID:
00019386
Views:
36
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform