Erase Method (WINDOW)
PLBCMP GUI Only
The Erase method clears the entire graphical area of a WINDOW object. The method uses the following format:
|
|
|
|
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:
This method performs the same action as a WINERASE statement.
If the value returned is zero, the ZERO Condition Flag is set.
The OVER and EOS Condition Flags are always cleared.
For improved performance in the Application Server environment, do not specify the optional return value unless needed.
See Also: Method Syntax, WINDOW Methods
![]() |