Unit 'Classes' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

TBasicAction.ActionComponent

Returns the component that initiated the action.

Declaration

Source position: classesh.inc line 2631

public property TBasicAction.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

Execute

  

Triggers the OnExecute event.

OnExecute

  

Event triggered when the action executes.


Documentation generated on: Dec 27 2024