RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomEdit.CanUndo Property

Indicates whether the edit control contains changes that can be backed out.

Pascal
property CanUndo: Boolean;
C++
__property Boolean CanUndo;

Read CanUndo to determine whether the user has made any changes to the text that can be undone by calling the Undo method. This is useful when enabling or disabling menu items that correspond to these commands. 

 

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