Hello All,
I've a problem which probably requires a very simple solution. I've a form with the following code attached to an exit button:
LOCAL nResponse
nResponse=MESSAGEBOX('Do you want to quit this application?',4+32,'Confirm action')
IF nResponse=6
CLEAR EVENTS
ENDIF
THISFORM.Release
RETURN
In my MAIN.prg I have;
if blah()
DO myform
READ EVENTS
ELSE
* display error message
ENDIF
Why doesn't this properly work? Executable doesn't work either. Execution of 'blah()' works fine, however the form doesn't load.
TIA,
Vernon
Don't question where I'm going when you don't know where I've been, know what I mean?
I've a problem which probably requires a very simple solution. I've a form with the following code attached to an exit button:
LOCAL nResponse
nResponse=MESSAGEBOX('Do you want to quit this application?',4+32,'Confirm action')
IF nResponse=6
CLEAR EVENTS
ENDIF
THISFORM.Release
RETURN
In my MAIN.prg I have;
if blah()
DO myform
READ EVENTS
ELSE
* display error message
ENDIF
Why doesn't this properly work? Executable doesn't work either. Execution of 'blah()' works fine, however the form doesn't load.
TIA,
Vernon
Don't question where I'm going when you don't know where I've been, know what I mean?