Home > Language Reference > Classes > Field

Cut Method

Copies the selected text into the clipboard, then deletes the selection.

Syntax

Public Sub Cut()

Remarks

The Cut method places the selected text in the clipboard, and then deletes it. The previous contents of the clipboard are lost. If nothing has been selected, a beep is emitted, and the contents of the clipboard are not changed.

It is possible to select some or all of the text in a control programmatically using the SelStart and SelLength properties.

System requirements

SystemMinimal versionRemarks
Palm OSPalm OS 3.0N/A