Alex,
>>Your ON SHUTDOWN should point to a program, instead of just QUIT. The program should do a cleanup of everything, including any dangling object references (which may be better cleaned in the program or method when they are not needed anymore). Obj references may be your problem, that does not allow VFP to exit.
Not necessarily so. My problem was resolved when I included a QUIT command in the destroy event of the app's only form. When the user closed the form, the ON SHUTDOWN was not triggered so the app never when into shutdown... the READ EVENT was still processing but nothing was being displayed.
However, I gave you a "help" because I created a shutdown procedure that allowed me to more accurately control the app's closure when I'm in development mode. Rather than just QUIT, I test for the _VFP.Startmode and restore the VFP _Screen when I'm running interactively.
Thanks,
Thom C.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only