RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TToolButton.GetActionLinkClass Method
Pascal
function GetActionLinkClass: TControlActionLinkClass; override;
C++
virtual __fastcall TControlActionLinkClass GetActionLinkClass();

GetActionLinkClass returns the appropriate class type for the action link used with a tool button. This class is used internally to create an action link object for the tool button when it has an associated action. Each Action link class is designed to link specific properties and event handlers of the action to its client, based on the types of properties the client supports. 

As implemented in TToolButton, GetActionLinkClass returns the TToolButtonActionLink class type, which associates the Down, ImageIndex, ShowHint, Caption, Enabled and Visible properties and the OnClick event handler. 

 

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