Consultor Eletrônico



Kbase P14190: How to hide the window of a father process when a child proc
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/30/2003
Status: Verified

GOAL:

How to hide the window of a parent process when a child process is called.

GOAL:

How to refocus on the last button used after child process is closed.

FIX:

Sample code:

{&WINDOW-NAME}:HIDDEN = YES. /*Hide the window */
RUN child.w . /*Call the child-process */
{&WINDOW-NAME}:HIDDEN = NO. /*Show the windows */

APPLY "ENTRY" TO SELF IN FRAME {&FRAME-NAME}.
/*Make the focus apply on the last button used*/


In this way also, you will ensure that the father window is closed before the child one.