Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Closing the form.
Message
From
16/05/1997 15:29:10
 
 
To
16/05/1997 14:28:03
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00032608
Message ID:
00032635
Views:
43
>The 'X' click calls the QueryUnload event on your form. In your method that closes the form return false if you do not want to close the form. Then put this code in the QueryUnload event.
>
>IF NOT { call close method here}
> NODEFAULT
>ENDIF
>

Is the default code in the queryunload the code that close the form? If so, this is the method I was looking for. Gerald- I want the user to be able to close the form with the 'X', just not automatically. Dave- I believe that in the form's destroy event, it is too late to check the getfieldstate(), because the form is destroyed after its members; the data has already been updated.
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform