[Overview][Types][Classes][Procedures and functions][Index] | Reference for unit 'StdActns' (#lcl)

# TEditUndo

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Editing action used to Undo the previous change to the value for the specified control.

## Declaration

Source position: stdactns.pas line 76

`type TEditUndo = class(TEditAction)`
`public`
`procedure ExecuteTarget(); override;` |  | Executes the action for the specified target control.
`procedure UpdateTarget(); override;` |  | Updates the enabled state for the action.
`end;`

## Inheritance

`TEditUndo` |  | Editing action used to Undo the previous change to the value for the specified control.
`TEditAction` |  | The base class for standard editing actions applied to an edit control.
`TAction` |  | TAction is the basic action object used in the LCL.
`TCustomAction` |  | TCustomAction is the ancestor class for TAction.
`TContainedAction` |  | Implements an Action class which has a category and parent action list.
`TBasicAction`
?
`TObject`

## Description

TEditUndo is a TEditAction descendant which reverses the previous change to the value for the specified TCustomEdit control. It re-implements the UpdateTarget and ExecuteTarget methods to use the TCustomEdit type for the affected control.

## See also

TEditAction |  | The base class for standard editing actions applied to an edit control.
TCustomEdit |  | The base class for controls presenting editable text.