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.
Thanks,
Dave
>David,
>
>Are you issuing a CLEAR EVENTS?
>
>>I have a visual class of a form that won't unload when run from an EXE from the Explorer. The form unloads properly if I run the form within the VFP development enviroment.
>>
>>I wrote code to make sure that all my local views and tables are closed properly and also tried to determine if I mistakenly create more than one variable reference to the object by using AINSTANCE and then piped the results of both tries to a text file in the run-time enviroment. So far, I have had no luck determining the difference is between my run-time and development enviroment.
>>
>>I use an public object for my application that contains an array that keeps track of my open forms. Everything except search screens are modeless.
I would give my left arm to be ambidextrous!