General information
Category:
Coding, syntax & commands
>It triggers QueryUnload() event. See also the ReleaseType property.
Execute NODEFAULT to preven in it form closing.
>>When using a form in VFP9, I want to capture the "mouse click" on the red "X" close button and do some testing before I allow the user to close the form.
>
Just a note here, the QueryUnload() event is only called via the "Red-X" button; if you have a "Cancel" commandbutton that will close the form via a RELEASE thisform or thisform.Release() in the Click event, the QueryUnload event will not be called. You have to process the test in the commandbutton click event as well.
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