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

# TContainedAction

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

TContainedAction - parent class for TCustomAction; defines some properties especially relationships with parents

## Declaration

Source position: actnlist.pas line 38

`type TContainedAction = class(TBasicAction)`
`protected`
`procedure ReadState(); override;` |  |
`procedure SetParentComponent(); override;` |  |
`public`
`destructor Destroy; override;`
`function Execute; override;` |  |
`function GetParentComponent; override;` |  |
`function HasParent; override;` |  |
`function Update; override;` |  |
`property ActionList: TCustomActionList; [rw]` |  | The ActionList in which this action is contained
`property Index: Integer; [rws]` |  | The Index of this action in the list of actions
`published`
`property Category: String; [rw]` |  | The Category of this action
`end;`

## Inheritance

`TContainedAction` |  | TContainedAction - parent class for TCustomAction; defines some properties especially relationships with parents
`TBasicAction`
`TComponent,IUnknown,IInterfaceComponentReference`
`TPersistent`
`TObject`

The latest version of this document can be found at lazarus-ccr.sourceforge.net.