Close Method (WINDOW)


PLBCMP GUI Only

 

The Close method sends a close event to a WINDOW object. The method uses the following format:

 

[label]

{object}.Close

[GIVING {return}]

 

Where:

label

Optional. A Program Execution Label.

object

Required. A WINDOW object that is closed.

return

Optional. A Numeric Variable that indicates the success or failure of the method.

Flags Affected: EOS, OVER, ZERO

Note the following:

  1. This method invokes the Close Event of the WINDOW object.

  2. If the value returned is zero, the ZERO Condition Flag is set.

  3. The OVER and EOS Condition Flags are always cleared.

  4. For improved performance in the Application Server environment, do not specify the optional return value unless needed.

 

 

See Also: Method Syntax, WINDOW Methods

 



PL/B Language Reference BrowseForFolder Method (WINDOW) Erase Method (WINDOW)