ImageEn, unit iexRichEdit

TIERichEdit.CanUndo

TIERichEdit.CanUndo

Declaration

property CanUndo: Boolean;

Description

Returns true if the user can call Undo to reset the previous action.

Rich Edit Identifier: EM_CANUNDO

Example

// Enable undo buttons
btnUndo.Enabled := IERichEdit1.CanUndo;
btnRedo.Enabled := IERichEdit1.CanRedo;