General information
Category:
Forms & Form designer
Thanks, Jim. But is there a logical reason why the release command/method will not trigger the queryunload event.
By the way, i did a code that is quite patterned after your suggestion.
For the CloseEvent():
LOCAL lnAsnwer
lnAnswer = THISFORM.DoBeforeClose()
DO CASE
CASE lnAnswer <> 2 && not cancelled
THISFORM.Release()
ENDCASE
And, for the QueryUnload():
LOCAL lnAnswer
lnAnswer = THISFORM.DoBeforeClose()
DO CASE
*!* CASE lnAnswer = 6 && Yes, just in case i'll have more codes
*!* CASE lnAnswer = 7 && No
CASE lnAnswer = 2 && Cancel
NODEFAULT
ENDCASE
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