Cut Method
8.7C, PLBCMP GUI Only
The Cut method deletes the current selection in an EDITTEXT, EDITNUMBER, or RICHEDITTEXT object and places the deleted text in the clipboard in text format. 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
![]() |