WayneBecker
Programmer
There have been many postings and helps on Shutting down an application I have tried to follow them in my coding but the application will not close when I choose the menu pick "Exit CANstamp".
This is my code sample:
Main Program
MODIFY WINDOW SCREEN TITLE 'Spinney Hill Software'
_screen.icon="c:\canstamp\graphics\shs_16x16.ico"
Owner = "John Tucker"
DO FORM c:\canstamp\forms\canstamp_sign_on.scx
DO c:\canstamp\menus\CANSTAMP.MPR
READ EVENTS
CANSTAMP.MPR "Exit CANstamp" - Menu Pick
ON SHUTDOWN DO c:\canstamp\progs\ShutDownProc
ShutDownProc
Procedure ShutdownProc
CLOSE ALL
CLEAR ALL
CLEAR EVENTS
ON SHUTDOWN
QUIT
ENDPROC
What do I need to fix to make it work?
Thanks in advance...........Wayne
This is my code sample:
Main Program
MODIFY WINDOW SCREEN TITLE 'Spinney Hill Software'
_screen.icon="c:\canstamp\graphics\shs_16x16.ico"
Owner = "John Tucker"
DO FORM c:\canstamp\forms\canstamp_sign_on.scx
DO c:\canstamp\menus\CANSTAMP.MPR
READ EVENTS
CANSTAMP.MPR "Exit CANstamp" - Menu Pick
ON SHUTDOWN DO c:\canstamp\progs\ShutDownProc
ShutDownProc
Procedure ShutdownProc
CLOSE ALL
CLEAR ALL
CLEAR EVENTS
ON SHUTDOWN
QUIT
ENDPROC
What do I need to fix to make it work?
Thanks in advance...........Wayne