Skip to content

pbCanUndo - DfBaseRichEdit

Determines whether an undo operation can be performed

Type: Property
Access: Read-Only
Data Type: Boolean
Parameters: None

Syntax

Property Boolean pbCanUndo
Access Type Syntax
Read Access: Get pbCanUndo to BooleanVariable

Description

Determines whether an undo operation can be performed in the control.

This property has no effect if control is not paged.

Sample

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

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