TBasicAction.ActionComponent
Returns the component that initiated the action.
Declaration
Source position: classesh.inc line 2196
public Property
ActionComponent : TComponent;
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
Name | Description |
---|---|
Execute | Triggers the OnExecute event |
OnExecute | Event triggered when the action executes. |
TComponent | Base class for all components that need owner-owned functionality. |