[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Classes' (#rtl)

TBasicAction.ActionComponent

Returns the component that initiated the action.

Declaration

Source position: classesh.inc line 2046

public property TBasicAction.ActionComponent : TComponent
  read FActionComponent
  write FActionComponent;

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

Execute

  

Triggers the OnExecute event

OnExecute

  

Event triggered when the action executes.


Documentation generated on: Jun 23 2021