Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Canceling a form with the close button
Message
From
01/08/1999 15:37:01
 
 
To
01/08/1999 14:50:02
Antonio Gubaira
Ingenieria Y Sistemas
Valencia, Venezuela
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00248686
Message ID:
00248693
Views:
12
>Hi Everybody !
>
>Can I assign a method to be executed when the user closes a form by clicking Window´s close control box on the upper right hand corner, or can I assign this button the same click method of the form´s CANCEL button ? Do I explain myself ?
>
>Thank you

If you put code in the QueryUnload method, you can stop the form form exiting if need be by executing a NODEFAULT.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform