Skip to content

Cut - DFBaseTextEdit

Copies the selected text to the Clipboard and deletes it from the control

Type: Procedure

Syntax

Procedure Cut

Call Example

Send Cut

Description

Copies the selected text to the Clipboard and deletes it from the control.

Copies the selected text to the Clipboard and deletes it from the control.

Sample

You can call CanCut to determine whether a cut operation will be successful.

Procedure CutText
    Boolean bCanCut

    get CanCut to bCanCut

    if bCanCut begin
        send Cut
    end
End_Procedure