Erase Method (WINDOW)


PLBCMP GUI Only

 

The Erase method clears the entire graphical area of a WINDOW object. The method uses the following format:

 

[label]

{object}.Erase

[GIVING {return}]

 

Where:

label

Optional. A Program Execution Label.

object

Required. A WINDOW object that is erased.

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 performs the same action as a WINERASE statement.

  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 Close Method (WINDOW) FormToPict Method (WINDOW)