Kbase P35010: How to destroy a non persistent SmartWindow called from anot
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  8/22/2003 |
|
Status: Unverified
GOAL:
How to destroy a non persistent SmartWindow called from another window in its InitializeObject without displaying the window depending on the value of a variable
FIX:
DYNAMIC-FUNCTION('setHideOnInit':U, INPUT TRUE).
RUN SUPER.
IF permiso THEN
RUN viewObject IN THIS-PROCEDURE.
ELSE
RUN destroyObject IN THIS-PROCEDURE.
RETURN ERROR.
END PROCEDURE.