I am the new guy here and I am playing around with some old programs in Progress 9.1E.
My problem is, (besides being fresh to all this)
that I have the main program, call it "main.w"
and then I have another window that opens from the menu of main.w
My question is, what do I need to tell it when it closes to keep the main.w window open. As of now, when I close the child window, it exits out of the whole thing completely.
Here is what I think it is, but it's not.
__________________________________________________________
MESSAGE "Are you sure you wish to quit?"
VIEW-AS ALERT-BOX QUESTION BUTTONS OK-CANCEL UPDATE vlQuit.
IF NOT vlQuit THEN RETURN NO-APPLY.
RUN destroyObject.
IF ERROR-STATUS:ERROR THEN
RETURN NO-APPLY.
&IF DEFINED(AppBuilder_IS_RUNNING) EQ 0 &THEN
QUIT.
&ENDIF
END.
____________________________________________________
Should I tell it to RUN main.w (but it is already running)
I tried various different approaches, and each time it exits out completely.
Also, I am looking at it in the Procedure editor, is this something that should be defined in the Appbuilder?
Please help me find my way
My problem is, (besides being fresh to all this)
that I have the main program, call it "main.w"
and then I have another window that opens from the menu of main.w
My question is, what do I need to tell it when it closes to keep the main.w window open. As of now, when I close the child window, it exits out of the whole thing completely.
Here is what I think it is, but it's not.
__________________________________________________________
MESSAGE "Are you sure you wish to quit?"
VIEW-AS ALERT-BOX QUESTION BUTTONS OK-CANCEL UPDATE vlQuit.
IF NOT vlQuit THEN RETURN NO-APPLY.
RUN destroyObject.
IF ERROR-STATUS:ERROR THEN
RETURN NO-APPLY.
&IF DEFINED(AppBuilder_IS_RUNNING) EQ 0 &THEN
QUIT.
&ENDIF
END.
____________________________________________________
Should I tell it to RUN main.w (but it is already running)
I tried various different approaches, and each time it exits out completely.
Also, I am looking at it in the Procedure editor, is this something that should be defined in the Appbuilder?
Please help me find my way