>>I have a simple app that contains one screen.
>>
>>I issue a clear events in the Release Method of the form.
>>When the user closes the screen, The screen disappears, but the main VFP window remains. When I try to close the main window I get the message 'Cannot Quit Foxpro'. What am I doing wrong?
>>
>>Thanks..
>
>Firstly, move CLEAR EVENTS to Form.Destroy event
Ensure your app has an ON SHUTDOWN routine. This will fire when you attempt to close the desktop/application.
HTH
Dan
Dan
St. Petersburg, FL
"I started out with nothing and I still have most of it left"