FMX.Controls.TControlActionLink

From RAD Studio API Documentation
Jump to: navigation, search

FMX.ActnList.TActionLinkSystem.Actions.TContainedActionLinkSystem.Classes.TBasicActionLinkSystem.TObjectTControlActionLink

Delphi

TControlActionLink = class(FMX.ActnList.TActionLink)

C++

class PASCALIMPLEMENTATION TControlActionLink : public Fmx::Actnlist::TActionLink

Properties

Type Visibility Source Unit Parent
class public
FMX.Controls.pas
FMX.Controls.hpp
FMX.Controls FMX.Controls

Description

Links an action to a client (generic control).

TControlActionLink is designed to link actions to clients (generic controls) that descend from TControl. TControlActionLink inherits his behavior from TActionLink and TBasicActionLink.

TControlActionLink keeps the action in the Action property and the linked control in the Client property.

TControlActionLink defines methods supporting the linking of the action's properties and events with properties and events of the linked control. The TControlActionLink methods determine whether the action propagates values of its properties to the values of the corresponding properties of the linked 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 controls.

See Also