RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TActionLink Class

TActionLink is the base class for action links that connect actions to commonly used properties of VCL objects, components and controls.

Pascal
TActionLink = class(TBasicActionLink);
C++
class TActionLink : public TBasicActionLink;

ActnList

Most applications do not work directly with TActionLink objects. Instead, the clients of actions already include a specialized TActionLink descendant that manages the relationship between the client object and an action. TActionLink introduces methods to manage the relationship between properties on an action object and the corresponding properties of the client object. Descendant classes override these methods, implementing them for the particular properties of a class of client. 

Component writers can use TActionLink as a base class for new action link classes that manage the relationship between actions and families of client objects that are not controls or menu items.  

TActionLink introduces interfaces for methods that support the following properties, most of which are linked with properties of the same name: 

Caption 

Checked 

Enabled 

HelpContext 

Hint 

ImageIndex 

ShortCut 

Visible 

 

TAction 

TControl 

Creating Toolbars and Menus 

Demo Programs: Actions 

What Happens When an Action Fires 

How Actions Find Their Targets 

Organizing Actions for Toolbars and Menus 

Predefined Action Classes 

Registering Actions 

Setting Up Action Bands 

Updating Actions 

Using Action Lists 

What Is an Action? 

Writing Action Components

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!