Consultor Eletrônico



Kbase P6364: APPLY 'CLOSE' TO THIS-PROCEDURE. is not closing the window.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   15/10/2008
Status: Verified

FACT(s) (Environment):

Windows
Progress 9.1D

SYMPTOM(s):


The following trigger code is not closing the current window:

ON CHOOSE OF MENU-ITEM m_save
DO:
   APPLY "CLOSE" TO THIS-PROCEDURE.
END.


The following trigger code is not closing the named current window:

ON CHOOSE OF MENU-ITEM m_save
DO:
   APPLY "CLOSE" TO WindowName.
END.


CAUSE:

The 'RUN disable_UI.' statement is needed to close the window.

FIX:


Add the 'RUN disable_UI.' statement to the trigger code:

ON CHOOSE OF MENU-ITEM m_save
DO:
   APPLY "CLOSE" TO THIS-PROCEDURE.
   RUN disable_UI.  
END.