Consultor Eletrônico



Kbase 6687: VIEW FRAME refresh default differs from v5 to v6
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   5/10/1998
VIEW FRAME refresh default differs from v5 to v6

920416-elp01

In v5 it was possible to bring back into view frames hidden
by OUTPUT TO TERMINAL PAGED by using a blank form (VIEW)
before the OUTPUT TO TERMINAL PAGED and then hiding this
blank form when you finish. In v6 this doesn't work,
the first frame viewed is not re-displayed.
Here's an example provided by the customer:

/* one.p */

DEF VAR v_x AS CHAR.

FORM SKIP (20) WITH FRAME y WIDTH 80 OVERLAY NO-BOX.
FORM v_x WITH FRAME a.

VIEW FRAME a. PAUSE.
VIEW FRAME y. PAUSE.

RUN x.p.
HIDE FRAME y.
PAUSE.

/* x.p */

DEF VAR v_i AS INT.

OUTPUT TO TERMINAL PAGED.

REPEAT v_i = 1 to 3:
DISPLAY "xxxxxx".
END.

OUTPUT CLOSE.
PAUSE.

In v5 frame a is redisplayed upon return to the procedure
(you see it before the last pause).
******************************************************************
Regarding the VIEW frame hack for OUTPUT TO TERMINAL PAGED:

After conferring with Development, we decided
that apparently it is an undocumented, unknown feature.

Development people suggest that the correct functionality should be
that after the OUTPUT CLOSE, all frames are automatically
refreshed. But this doesn't match either the v5 or v6
functionality.

Progress Software Technical Support Note # 6687