Skip to content

Delete - DfBaseRichEdit

Deletes the selected text from the control

Type: Procedure

Syntax

Procedure Delete

Call Example

Send Delete

Description

Deletes the selected text from the control.

Sample

You can call CanDelete to determine whether a delete operation will be successful.

Procedure DeleteText
    Boolean bCanDelete

    get CanDelete to bCanDelete

    if bCanDelete begin
        send Delete
    end
End_Procedure