Skip to content

Undo - DfBaseRichEdit

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 oRichEdit1.

send Undo of oRichEdit1

Sample

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

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