Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
QueryUnload not Fired
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00121792
Message ID:
00122130
Views:
23
>Hi Barbara,
>
>To confirm Nancy's findings I tried minimizing a form and then clicking the 'X' the .QueryUnload fired. I also tried minimizing the form, making another form active and the clicking the 'X' of the minimized form and the .QueryUnload fired. In my form classes .QueryUnload I have only the following code:
>
>NODEFAULT
>THIS.FormCleanup
>
>In each form I put the necessary cleanup code in the .FormCleanup. The only thing I can think of suggesting right now, if you don't have it already, is to put NODEFAULT before any code you have in the .QueryUnload. HTH

Thanks for taking the time, Colin. NODEFAULT won't work, because I need to call framework code with my QueryUnload. As I said, it's intermittent. One form doesn't call the QueryUnload code on the network but works fine single-user. Another works correctly both places, with essentially the same code. Very strange.
Barbara Paltiel, Paltiel Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform