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:
00121941
Views:
19
>>Sorry, that was a premature posting. I took the message box out of the query unload and simply turned coverage logging on. Sure enough, the query unload method fired minimized or not...
>
>I've been able to duplicate it running my form both in VFP and in the EXE where the user's saw it. But not reliably. Very strange.
>
>If I find out more, I'll post it.
>
>Barbara

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
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada

cmagee@metroland.com

Never mistake having a career with having a life.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform