Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Detect changes in cursors
Message
From
03/02/1999 23:42:00
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00183522
Message ID:
00183774
Views:
17
>I put things in QueryUnload which are specific to the user closing the form by the ways that call QueryUnload. I put things in form.Unload which need to be run "no matter how the user [leaves the form]."

The form.Destroy as well. But the for the form to be Released, it has to be called through code, which means the user clicked something. So you can do your data checking before calling release. But if the user clicks the X, the only way you can stop the form from running is in the QueryUnload event. By the time Unload runs, its too late.
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform