Consultor Eletrônico



Kbase P6539: How to close parent window when 4GL .p dialog box frame?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   2/2/2003
Status: Unverified

GOAL:

How to make the parent window disappear when closing a non AppBuilder generated dialog box frame?

FACT(s) (Environment):

Windows 32 Intel

FACT(s) (Environment):

Windows NT 32 Intel/Windows 2000

FACT(s) (Environment):

Progress 8.x

FACT(s) (Environment):

Progress 9.x

CAUSE:

A non UIB generated frame in a 4GL .p procedure which is viewed as dialog box.

FIX:

Add the following trigger:

ON WINDOW-CLOSE OF FRAME Entry-Frame DO:
HIDE ACTIVE-WINDOW.
QUIT.
END.