Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Closing multiple forms
Message
 
To
21/07/1999 22:18:31
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00244464
Message ID:
00244532
Views:
19
>Mark,
> I have three forms that I am having problems with releasing. They are not a part of the same formset either, just three individual forms. Did you ever find an answer to your question?
>
>Jeff T.


DO FORM Form1 NAME FirstInstance LINKED
DO FORM Form1 NAME SecondInstance LINKED

RELEASE FirstInstance
RELEASE SecondInstance

All of my forms are instantiated from class libraries using CREATEOBJECT().
I attach each subordinate form to an array property of the main form. In the QueryUnLoad() of the main form, I enumerate this array and close the child forms. Their QueryUnload() methods ensure that any validation requirements have been met before they are Released.

HTH
Dan
St. Petersburg, FL

"I started out with nothing and I still have most of it left"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform