Skip to main content

TcxCustomTextEdit.Undo Method

Discards changes made to an editor’s text.

Declaration

procedure Undo; virtual;

Remarks

Use the Undo method to discard changes made to an editor’s text. Some actions cannot be rolled back though. These actions include direct modifications of the Text and EditValue properties, calls to the PasteFromClipboard and CutFromClipboard methods etc.

Note

Changes made to the editor’s text can be discarded via the Undo method only while focus remains within the editor. When focus leaves it, the current editor’s EditValue is saved.

See Also