Consultor Eletrônico



Kbase P27127: ADM2. how to close father window from his child.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   16/06/2003
Status: Unverified

GOAL:

ADM2. how to close father window from his child.

FACT(s) (Environment):

9.1x

FIX:

One of the ways to close a parent windows when closing his child windows it by using the handle of the parent window and to instantiate it in the APPLY 'WINDOW-CLOSE' to ParentHandle.

This assumes that you are running the child window from a container placed in page 1 of the parent.

Keep the handle in a NEW GLOBAL SHARED VAR and in the child windows run.
APPLY 'WINDOW-CLOSE" IN PARENTWINDOWHANDLE.