Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do you release other FORMS opened ...
Message
From
11/08/1997 14:31:26
 
 
To
11/08/1997 14:25:47
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00044045
Message ID:
00044056
Views:
33
>>>How do you release other FORMS opened from
>>>within a FORM.. I know I asked this question before
>>>and I thought I saved the answer. I want to close
>>>two opened FORMS.... thanks..rob
>>
>>***frmMain Destroy event (if you want to release 'child' forms too):
>>if type("Thisformset.frmDetail1")=="O"
>> Thisformset.frmDetail1.release()
>>endif
>>if type("Thisformset.frmDetail2")=="O"
>> Thisformset.frmDetail2.release()
>>endif
>>....
>>If you don't have Formset, try to use direct references to forms (from DO Form NAME clause).
>
>thanks Edward..these FORMS are not in a FORMSET yet, but
>as single FORMS I will like to release them.
>myform.release() does not seem to work.

Look at DO FORM command. Does it have NAME clause? One thing beforehand: you can always use RELEASE WINDOW myform (to other UT members: don't crtiticize me too much for this not OO advice, please).
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform