Sign in Join
FPDoc Onlineexperiment

TBasicActionLink class

In unit Classes

Link between actions and action clients (e.g. controls).

Declaration

pascal
TBasicActionLink = class(TObject)

Inheritance

  1. TBasicActionLink
  2. TObject

Descends from it: TActionLink

Description

TBasicActionLink links an Action to its clients. With each client for an action, a TBasicActionLink class is instantiated to handle the communication between the action and the client. It passes events between the action and its clients, and thus presents the action with a uniform interface to the clients.

An application programmer should never use a TBasicActionLink instance directly; They are created automatically when an action is associated with a component. Component programmers should create specialized descendants of TBasicActionLink which communicate changes in the action to the component.

See also

Properties

ActionpublicThe action to which the link was assigned.

Methods

AssignClientprotectedAssigns a control (client) to the action link.
ChangeprotectedExecuted whenever the Action is changed.
IsOnExecuteLinkedprotectedReturns whether the client has it's OnExecute property linked.
SetActionprotectedSets the action with which the actionlink is associated.
SetOnExecuteprotectedAssigns the OnExecute handler to the client.
CreatepublicCreates a new instance of the TBasicActionLink class.
DestroypublicDestroys the TBasicActionLink instance.
ExecutepublicCalls the action's Execute method.
UpdatepublicCalls the action's Update method.

Events

OnChangepublicEvent handler triggered when the action's properties change.

Fields

FActionprotectedThe action with which this link is associated.

Inherited

From TObject (40)

AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.