Vcl.ComCtrls.TToolButton.GetActionLinkClass
Delphi
function GetActionLinkClass: TControlActionLinkClass; override;
C++
DYNAMIC Vcl::Controls::TControlActionLinkClass __fastcall GetActionLinkClass();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TToolButton |
Description
Returns TToolButtonActionLink.
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.