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

# TEditCopy

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

Editing action used to copy the selected value in a control to the clipboard.

## Declaration

Source position: stdactns.pas line 58

`type TEditCopy = 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

`TEditCopy` |  | Editing action used to copy the selected value in a control to the clipboard.
`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

TEditCopy is a TEditAction descendant which performs a copy to clipboard editing action for the selected value in a 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.