Consultor Eletrônico



Kbase P18006: How to minimize a window from its parent window.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   14/03/2003
Status: Unverified

GOAL:

How to minimize a window from its parent window.

FACT(s) (Environment):

Progress 9.x

FIX:

If you need to have a window that will minimize and restore along with his parent, you will need to use the following approach:

1. Create a SmartWindow with a single button "DONE" AUTO-GO.

2. Save the Window as "Callee" window.

3. Create a new SmartWindow.

4. Add a button "Launch child Window" in page 0 with following trigger:

RUN SELECT-PAGE (INPUT 1).
5. Change to page 1.

6. In page 1 add a Smartcontainer and select Callee window.

7. Save your window as Caller.

That's it. Your chlid window will respond to the minimize and restore of his parent.