>Hi ,how can i exit visulal foxPro when i use a custom application?
>when i click on the X appears the message
At a minimum, you need to issue a CLEAR EVENTS and tell VFP to quit when the SHUTDOWN event occurs. Add the following line to your main program:
ON SHUTDOWN DO AllDone
Create a .PRG named AllDone.PRG; it should look so,mething like:
* AllDone.PRG
CLEAR EVENTS
ON SHUTDOWN
CLOSE ALL
CLEAR ALL
QUIT