>Strange,
>your code perfetly work in VFP IDE when I test.. but now work in EXE :(
>but I use SCREEN ON and visible and no top level forms here.
It works for me here, I create a project with just the prg, modified like this:
On Shutdown Do ONSHUTDOWN
Public oForm
oForm = Newobject("ffw")
oForm.Show()
Read Events
Procedure ONSHUTDOWN
Clear Read
Quit
Define Class ffw As Form
.
.
.
Compiled into an EXE and it works.