RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomEdit.Undo Method

Backs out all changes in the undo buffer.

Pascal
procedure Undo;
C++
__fastcall Undo();

Call Undo to cancel all changes made to the Text property since the last call to the ClearUndo method. If ClearUndo was never called, Undo rolls back all changes. 

To determine whether there are any changes in the undo buffer, check the CanUndo property. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!