>I tried putting the CLEAR EVENTS before the THISFORM.RELEASE and the problem persists.
>I read somewhere that after executing the CLEAR EVENTS, program execution continues on the program line immediately
>following READ EVENTS. So I checked my MAIN.PRG where the READ EVENTS is and that is the last line in the program.
>Hmmmm. maybe I should do the THISFORM.RELEASE right after the READ EVENTS in the MAIN. PRG.
Put
thisform.Release()
CLEAR EVENTS
in the Exit button of your form
In the main program
after Read Events
add
ON SHUTDOWN
CLEAR ALL
QUIT
If it's not broken, fix it until it is.
My Blog