DO FORM MakeBackups WITH lcAutoRun READ EVENTS CLEAR EVENTS ON ERROR && Restores system error handler. QUITIn my form's SHOW I have:
LPARAMETERS nStyle DODEFAULT() IF thisform.lAutostart = .T. THISFORM.CmdProcess.Click() WAIT WINDOW [Waiting 10 seconds] TIMEOUT 10 THISFORM.CmdExit.Click() ENDIFI get the wait window, but the click event is not closing the form. If I manually click CmdExit, the application closes and quits VFP
thisform.releaseThe form's RELEASE:
DODEFAULT() CLOSE DATABASES CLEAR EVENTSTIA