Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
QueryUnload Method
Message
From
30/10/2001 10:11:04
Charles Richard
Nvo Management Systems
Boisbriand, Quebec, Canada
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00574842
Message ID:
00575035
Views:
25
The X will fire QueryUnload. Release doesn't fire unless there is a call to it. Then if the QueryUnload is successful, Destroy of the form, Then Destroy of the objects. Finally, Unload of the form. There are other probably events which fire but I am not sure which. (Like Paint which fires frequently while a form object is running). That's why I suggested you never use it if you require control over the form. AFAIK you can get away with never needing to put the code in it if you resolve to call QueryUnload all over your application where control is required.

>Interesting I wasent aware of the NODEFAULT clause that info will be very usefull. Thanks. I tested the behavior and noticed something strange. The x apperentally doesen't call the release method?? If I place code into the release method only It doesen't seem to be called? What events are fired when the x is clicked???? Release doesn't seem to be one of them or I've had one to many and am doing something silly.
>
>Thanks
>Aaron Thomas
>Valley Computer Services
Charles Richard
NVO Management Systems
crichard@nvo.ca
Previous
Reply
Map
View

Click here to load this message in the networking platform