Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxCustomTextEdit.Undo Method

In This Article

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