RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TEditUndo Class

TEditUndo backs out the last change in an edit control.

Pascal
TEditUndo = class(TEditAction);
C++
class TEditUndo : public TEditAction;

Add TEditUndo to an action list to allow users to back out edits using menu items or toolbar buttons. Controls such as menu items and tool buttons linked to this action cause the application to undo the last edit in an active text control. 

TEditUndo is designed to work with an edit control (TCustomEdit descendant) as a target. It automatically disables itself if the active control in a form is not an edit control that can back out the last edit. 

 

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