TPlusMemo.Undo, Redo
PlusMemo Help Send comments on this topic.
TPlusMemo.Undo, Redo

Glossary Item Box

 

Applies to

TPlusMemo, TDBPlusMemo

 

Declaration

procedure Undo;

procedure Redo;

 

Description

The Undo method undoes the last operation.  Property CanUndo may be used to determine if this method will have any effect.  Similarly, Redo redoes the last undo.  Property CanRedo may be used to determine if any redo information is present in the control at one time.

 

TPlusMemo supports multi level undo-redo.  This means that all the previous text edition operations can be undone.  Also, all the previous undo operations since the last edition can be redone.

 

Whenever the user presses Ctrl-Z when a TPlusMemo has focus, Undo is called internally.  Upon pressing Ctrl-Shift-Z, Redo is called internally.

 

See also

CanUndo, CanRedo properties

ClearUndo method

UndoMaxLevels, UndoMaxSpace properties