Clear Method
8.7C, PLBCMP GUI Only
The Clear method deletes the selected text from an EDITTEXT, EDITNUMBER, or RICHEDITTEXT object. The method uses the following format:
|
|
|
|
|
Where:
label
Optional. A Program Execution Label.
object
Required. An EDITTEXT, EDITNUMBER or RICHEDITTEXT object that is accessed.
return
Optional. A Numeric Variable that indicates the success of the method.
Flags Affected: EOS, OVER, ZERO
Note the following:
Upon completion, {return} will always contain a one (1) to indicate success.
The OVER and EOS Condition Flags are always cleared.
This operation can be reversed by the Undo method.
For improved performance in the Application Server environment, do not specify the optional return value unless needed.
When using the PL/B Web Server, this method is not supported.
See Also: Method Syntax, EDITTEXT Methods, EDITNUMBER Methods, RICHEDITTEXT Methods
![]() |