Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Still release form question
Message
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00516859
Message ID:
00516869
Views:
16
>From form1 a call form2
>
> Thanks for opininos but I need that form1 is only released
> after form2 is released too.
>
>
> I've tried
>
> Do form1 to myform
> do form2
>
>From form2 I put
>
> release myform and form1 does not disapered
>
> What's wrong ?

If you want to use MyForm to release Form1, you need to specify the LINKED keyword. When MyForm goes out of scope (or you release it directly), Form1 will also go away.

You could use MyForm to release the form. As MyForm is an object reference to the form, you can call MyForm.Release.

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Reply
Map
View

Click here to load this message in the networking platform