General information
Category:
Forms & Form designer
Josh,
Amazing. What a non-obvious named method. I looked at almost, almost,
every method but never thought QUERYUNLOAD would be the one, so passed
over it !
Thank you.
Michel.
================== Your original message follows ====================
>The QueryUnload event fires when the user clicks the close box (it doesn't fire if you do a THISFORM.Release() in code). You can then run any code you want. If you want to stop the form from closing, use NODEFAULT in the QueryUnload event.
>
>>If a form has the CLOSABLE property set to .T., then the X
>>"Close" button appear in the top right-hand corner of the form.
>>How does one trap the user clicking on that CLOSE button,
>>ie. is there an event/method associated with it ?
>>
>>Thanks.
>>Michel.
Previous
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