Back to Devexpress

TcxCustomTextEdit.Undo Method

vcl-cxtextedit-dot-tcxcustomtextedit-78d35fd7.md

latest1.0 KB
Original Source

TcxCustomTextEdit.Undo Method

Discards changes made to an editor’s text.

Declaration

delphi
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

TcxCustomTextEdit Class

TcxCustomTextEdit Members

cxTextEdit Unit