RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TControlActionLink Class

TControlActionLink links action objects to clients that descend from TControl.

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

Controls

TControlActionLink is designed to link actions to generic control clients. It overrides methods to determine whether the action and client are linked, and to ensure that action events are appropriate for properties and events of control clients. 

TControlActionLink overrides methods to support linking the following properties and events with control client properties or events, most of which have the same name: 

Caption 

Enabled 

Hint 

Visible 

OnExecute 

Use TControlActionLink as a base class when creating an action link class that targets a more specific client type. Descendant classes of TControlActionLink already support certain branches of the VCL, such as TWinControlActionLink, which supports TWinControl client types. 

 

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