Vcl.StdActns.TEditUndo
Delphi
TEditUndo = class(TEditAction)
C++
class PASCALIMPLEMENTATION TEditUndo : public TEditAction
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | Vcl.StdActns.pas Vcl.StdActns.hpp |
Vcl.StdActns | Vcl.StdActns |
Description
TEditUndo backs out the last change in an edit control.
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.