Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Method for Close button
Message
From
04/01/2001 09:26:35
 
 
To
03/01/2001 19:36:49
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00459138
Message ID:
00459312
Views:
28
>You can test how the form was closed with the ReleaseType property and hence call your own method if required.
>
>From help:
>'The ReleaseType property is set prior to the QueryUnload event being called.'

Additionally, note that in QueryUnload() you can -for example- ask your user if she is sure about closing the form. If the user answer no, you can use NODEFAULT to avoid the form to be closed. Actually that's why the method is called QueryUnload.

Hope this helps.
Previous
Reply
Map
View

Click here to load this message in the networking platform