Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
QueryUnload and Release Thisform
Message
From
16/12/1999 20:59:22
 
 
To
16/12/1999 20:40:41
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00305043
Message ID:
00305047
Views:
23
I could try that. But it would seemed like handling the two exits differently. With the CloseEvent() I must check first if the user really wants to quit. If he wants, then will I issue the Release command. While, with the QueryUnload, if the user intends to stay on the session, I'll issue a NODEFAULT to prevent the Unload event to execute. This would make a common routine (like a 'DoBeforeClose()') to check first what called the method.

I can not include this in my CloseEvent()
Thisform.QueryUnload(),
since it contains a NODEFAULT statement.

Maybe you could help me with a non-messy routine.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform