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

# TActionLink

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

A link between an action and a client class.

## Declaration

Source position: actnlist.pas line 253

`type TActionLink = class(TBasicActionLink)`
`protected`
`procedure SetAutoCheck(); virtual;` |  | Sets the value for the AutoCheck property in the linked client control.
`procedure SetCaption(); virtual;` |  | Sets the value for the Caption property.
`procedure SetChecked(); virtual;` |  | Sets the value for the Checked property in the linked client control.
`procedure SetEnabled(); virtual;` |  | Sets the value for the Enabled property in the linked client control.
`procedure SetGroupIndex(); virtual;` |  | Sets the value for the GroupIndex property in the linked client control.
`procedure SetHelpContext(); virtual;` |  | Sets the value for the HelpContext property in the linked client control.
`procedure SetHelpKeyword(); virtual;` |  | Sets the value for the HelpKeyword property in the linked client control.
`procedure SetHelpType(); virtual;` |  | Sets the value for the HelpType property in the linked client control.
`procedure SetHint(); virtual;` |  | Sets the value for the Hint property in the linked client control.
`procedure SetImageIndex(); virtual;` |  | Sets the value for the ImageIndex property in the linked client control.
`procedure SetShortCut(); virtual;` |  | Sets the value for the ShortCut property in the linked client control.
`procedure SetVisible(); virtual;` |  | Sets the value for the Visible property in the linked client control.
`public`
`function Update; override;` |  | Calls the inherited method when Action has been assigned.
`function IsCaptionLinked; virtual;` |  | Is the action's Caption linked to the client?
`function IsCheckedLinked; virtual;` |  | Is the action's Checked property linked to the client?
`function IsEnabledLinked; virtual;` |  | Is the action's Enabled property linked to the client?
`function IsGroupIndexLinked; virtual;` |  | Is the action's GroupIndex property linked to the client?
`function IsHelpContextLinked; virtual;` |  | Is the action's HelpContext property linked to the client?
`function IsHelpLinked; virtual;` |  | Is the action's Help property linked to the client?
`function IsHintLinked; virtual;` |  | Is the action's Hint property linked to the client?
`function IsImageIndexLinked; virtual;` |  | Indicates if the action's ImageIndex property linked to the client.
`function IsShortCutLinked; virtual;` |  | Is the action's ShortCut property linked to the client?
`function IsVisibleLinked; virtual;` |  | Is the action's Visible property linked to the client?
`end;`

## Inheritance

`TActionLink` |  | A link between an action and a client class.
`TBasicActionLink`
?
`TObject`

## Description

The class definition includes a number of protected procedures for setting properties for the action (as defined in TCustomAction), and a number of public boolean functions to indicate which part of the action is linked to the client.