Show: Delphi C++
Display Preferences

Vcl.Controls.TWinControl.GetActionLinkClass

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetActionLinkClass: TControlActionLinkClass; override;

C++

DYNAMIC TControlActionLinkClass __fastcall GetActionLinkClass();

Properties

Type Visibility Source Unit Parent
function protected
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls TWinControl

Description

Returns the associated action link class.

GetActionLinkClass returns the appropriate class type for the action link used with a control. This class is used internally to create an action link object for the control when it has an associated action. The action link links the action to the control client. 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 TWinControl, GetActionLinkClass returns the TWinControlActionLink class type, which associates the HelpContext, ShowHint, Caption, Enabled and Visible properties and the OnClick event handler. Descendants of TWinControl override this method to specify a descendant of TControlActionLink that handles their configuration of properties and events.

See Also

Personal tools
In Other Languages
Previous Versions
Assistance