Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Visually classed form's Unload event won't fire
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00290894
Message ID:
00291039
Views:
28
David,

It sounds like you have an outstanding object reference to an object internal to the form. You have to make sure you you release all object references. You can use the objref tool available on my website it's under Q&A, OOP

>No, I am not issuing a CLEAR EVENTS because I do not want process to stop when a user hits the exit button on one form. The funny thing is that this is a base class that I have been using for a couple of years and never had problems with it before.
>
>When I query the object references in the form manager they are .F. or NULL, but the form remains on the screen anyways.
>
>Once I do issue a CLEAR EVENTS from the "Quit" menu option and the subsequent RELEASE ALL and CLEAR ALL are issued, the form disappears.
>
>I'm not sure where to go to from here besides a complete redesign.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform