Sign in Join
FPDoc Onlineexperiment

TBasicAction.ActionComponent property

Member of TBasicActionpublicIn unit Classes

Returns the component that initiated the action.

Declaration

pascal
property ActionComponent: TComponent read FActionComponent write SetActionComponent;

Description

ActionComponent is set to the component that caused the action to execute, e.g. a toolbutton or a menu item. The property is set just before the action executes, and is reset to nil after the action was executed.

See also

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