RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomEdit.ClearUndo Method

Clears the undo buffer so that no changes to the text can be backed out.

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

Use ClearUndo to commit changes to the Text property. After calling ClearUndo, the CanUndo property is false and the Undo method does nothing. 

 

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