Skip to content

Undo - DFBaseTextEdit

Undoes the last operation

Type: Procedure

Syntax

Procedure Undo

Call Example

Send Undo

Description

This property has no effect if control is not paged.

Sample

This sample undoes the last operation of control oTextEdit1.

send Undo of oTextEdit1

Sample

This sample checks if an undo operation can be performed in the oTextEdit1 control using pbCanUndo. If so, it sends the Undo message to the control.

Procedure UndoIfPossible
    if (pbCanUndo(oTextEdit1) = True) ;
        send Undo of oTextEdit1
End_Procedure  // UndoIfPossible