Show: Delphi C++
Display Preferences

System.Classes.TComponent.GetChildParent

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetChildParent: TComponent; dynamic;

C++

DYNAMIC TComponent* __fastcall GetChildParent();

Properties

Type Visibility Source Unit Parent
function protected
System.Classes.pas
System.Classes.hpp
System.Classes TComponent

Description

Returns the parent or, if there is no parent, returns the owner of a child component being read from a stream.

GetChildParent is used internally in the component streaming system. It is not necessary to call it directly.

As implemented in TComponent, GetChildParent returns Self (Delphi) or this (C++). If GetChildParent returns nil (Delphi) or NULL (C++), the parent is assumed to be the root component currently being read (usually a form).

See Also

Personal tools
In Other Languages
Previous Versions
Assistance