We have a few infrequently used programs in our GUI application, that has code similar to below, run from within a dialog-box main block . The PAUSE portion of the WAIT-FOR no longer executes, meaning there is no pause going on, the code below the wait-for doesn’t execute. If I run this code in the Progress editor, or from a small application outside of our main application, it works fine, so something is telling me that our application has changed that prevents the pause from working. I checked session and startup parameters but didn’t see anything that would cause this. Has anyone seen this type of thing before?
DO WHILE TRUE:
/* user gets 1 second to get out of loop */
button-2:SENSITIVE = TRUE.
WAIT-FOR CLOSE OF THIS-PROCEDURE
OR CHOOSE OF button-2 FOCUS button-2 PAUSE 1.
button-2:SENSITIVE = FALSE.
/* if chose button-2, then sets variable stop-sel true */
IF stop-sel THEN LEAVE.
RUN test.p. /* run some program */
END.
V10.2B, Windows 7
thanks