Consultor Eletrônico



Kbase P91189: How to keep a child overlayed frame visible while updating fields in the main frame ?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   8/11/2004
Status: Unverified

GOAL:

How to keep a child overlayed frame visible while updating fields in the main frame ?

FACT(s) (Environment):

The following sample keeps frame f2 visible while updating fields in f1 frame which is the main frame.
def var v1 as char.
def var v2 as char.
def var v3 as char.

v3 = "Info text".

form
v1 v2
with frame f1 side-labels size 78 BY 15 overlay.

form
v3
with frame f2 side-labels overlay
AT col 3 ROW 6
size 64 by 8
title "Frame A".

/* this is the key line to keep f2 visible */
assign frame f2:frame = frame f1:handle.

view frame f1.
hide frame f2.

update v1 GO-ON(RETURN) with frame f1 .

view frame f2.
display v3 with frame f2.

update v2 GO-ON(RETURN) with frame f1.