>>I'd like the app to quit when the 'X' on the _screen is clicked on. Even though I have 'ON SHUTDOWN QUIT', I always get 'Cannot quit VFP'.
>>
>>TIA
>
>You must have some procedure: ON SHUTDOWN DO quitapp
>which should at least CLEAR EVENTS.
BTW, Michel called ON SHUTDOWN QUIT the most useless command in VFP :))
Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison