From RAD Studio API Documentation
Jump to: navigation, search



TControlListButtonActionLink = class(TControlActionLink)


class PASCALIMPLEMENTATION TControlListButtonActionLink : public Vcl::Controls::TControlActionLink


Type Visibility Source Unit Parent
class public
Vcl.ControlList Vcl.ControlList


Links an action object to a client (generic control).

Vcl.ControlList.TControlListButtonActionLink inherits from Vcl.Controls.TControlActionLink. All content below this line refers to Vcl.Controls.TControlActionLink.

Links an action object to a client (generic control).

TControlActionLink is designed to link actions to clients (generic controls) that descend from TControl.

TControlActionLink keeps the linked client in the FClient field and the linked action in the Action property.

TControlActionLink defines methods supporting the linking of the action's properties and events with properties and events of the control (client). The TControlActionLink methods determine whether the action controls values of properties of the client's control, and sets values to such properties of the control. Most properties and events of the action and client have the same names: Caption, Enabled, Hint, Visible.

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

See Also