General information
Category:
Forms & Form designer
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only