If any help, for dialog boxes I do something like this:
Code:
ON END-ERROR, ENDKEY OF FRAME Dialog-Frame
DO:
DISABLE ALL WITH FRAME Dialog-Frame.
HIDE FRAME Dialog-Frame NO-PAUSE.
RETURN NO-APPLY.
END.
Ok I tried adding something extremely similar to this and still nothing. Below are snippets of the progress logs. First one is when the txtCopies is available and the second one is when the txtCopies is set to hidden. This does have the code from above in it, note the begin/end-trigger. Oh and I removed the program name.
***WITH txtCopies:HIDDEN = NO***
[13/09/04@15:19:54.732-0500] P-007472 T-006580 3 4GL PROEVENTS START GUI WM_KEYDOWN FILL-IN txtCopies
[13/09/04@15:19:54.732-0500] P-007472 T-006580 3 4GL PROEVENTS START GUI WM_CHAR ESC FILL-IN txtCopies
[13/09/04@15:19:54.732-0500] P-007472 T-006580 2 4GL PROEVENTS PUSH ESC (END-ERROR) FILL-IN txtCopies
[13/09/04@15:19:54.732-0500] P-007472 T-006580 2 4GL PROEVENTS PUSH ESC (END-ERROR) DIALOG-BOX Dialog-Frame Handle:10122
[13/09/04@15:19:54.732-0500] P-007472 T-006580 2 4GL PROEVENTS Begin-Trigger "ESC (END-ERROR) OF DIALOG-BOX Dialog-Frame" Handle:10122
[13/09/04@15:19:54.732-0500] P-007472 T-006580 2 4GL PROEVENTS End-Trigger "ESC (END-ERROR) OF DIALOG-BOX Dialog-Frame" Handle:10122
[13/09/04@15:19:54.732-0500] P-007472 T-006580 2 4GL PROEVENTS PRGS ESC (END-ERROR) DIALOG-BOX Dialog-Frame Handle:10122 discarded return no-apply
[13/09/04@15:19:54.732-0500] P-007472 T-006580 2 4GL PROEVENTS POP ESC (END-ERROR) DIALOG-BOX Dialog-Frame Handle:10122
[13/09/04@15:19:54.732-0500] P-007472 T-006580 2 4GL PROEVENTS PRGS ESC (END-ERROR) FILL-IN txtCopies discarded
[13/09/04@15:19:54.732-0500] P-007472 T-006580 2 4GL PROEVENTS POP ESC (END-ERROR) FILL-IN txtCopies
----------------------------
***WITH txtCopies:HIDDEN = YES***
[13/09/04@15:19:56.909-0500] P-007472 T-006580 3 4GL PROEVENTS START GUI WM_KEYDOWN DIALOG-BOX Dialog-Frame Handle:10139
[13/09/04@15:19:57.418-0500] P-007472 T-006580 2 4GL PROEVENTS PROCESS EVENTS [print-doc]
[13/09/04@15:19:57.418-0500] P-007472 T-006580 3 4GL PROEVENTS START GUI WM_KEYDOWN DIALOG-BOX Dialog-Frame Handle:10139
[13/09/04@15:19:57.928-0500] P-007472 T-006580 2 4GL PROEVENTS PROCESS EVENTS [print-doc]
[13/09/04@15:19:57.928-0500] P-007472 T-006580 3 4GL PROEVENTS START GUI WM_KEYDOWN DIALOG-BOX Dialog-Frame Handle:10139