Show: Delphi C++
Display Preferences

Vcl.Controls.TControl.GetParentComponent

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetParentComponent: TComponent; override;

C++

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

Properties

Type Visibility Source Unit Parent
function public
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls TControl

Description

Returns the parent of the control.

GetParentComponent is called by the streaming system that loads and saves VCL components. The component returned by GetParentComponent is responsible for loading and saving the control when it is streamed in or out. As implemented in TControl, GetParentComponent returns the value of the Parent property.

See Also

Personal tools
In Other Languages
Previous Versions
Assistance