System.Actions.TContainedAction.GetParentComponent

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetParentComponent: TComponent; override;

C++

DYNAMIC System::Classes::TComponent* __fastcall GetParentComponent(void);

Properties

Type Visibility Source Unit Parent
function public
System.Actions.pas
System.Actions.hpp
System.Actions TContainedAction

Description

Returns the action list containing the action.

GetParentComponent returns the action list containing the action. This action list is stored in the ActionList property. If ActionList stores nil, then GetParentComponent calls the inherited System.Classes.TComponent.GetParentComponent method.

See Also