System.Classes.TBasicActionLink.Create

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

constructor Create(AClient: TObject); virtual;

C++

__fastcall virtual TBasicActionLink(System::TObject* AClient);

Properties

Type Visibility Source Unit Parent
constructor public
System.Classes.pas
System.Classes.hpp
System.Classes TBasicActionLink

Description

Instantiates and initializes a TBasicActionLink object.

Applications do not need to call the constructor directly. Instances of TBasicActionLink are created automatically when you connect an action with a client in the Action List editor. The AClient parameter is the client for the link. The link connects this client to its action.

Create calls AssignClient.

Create ensures that the client is of the appropriate type for the particular type of link. Descendent classes can progressively specify more customized client types. For example, there are action link classes for controls, for windowed controls, and for button controls.