Vcl.DBCGrids.TDBCtrlGrid.GetChildParent
Delphi
function GetChildParent: TComponent; override;
C++
DYNAMIC System::Classes::TComponent* __fastcall GetChildParent(void);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Vcl.DbCGrids.pas Vcl.DBCGrids.hpp |
Vcl.DBCGrids | TDBCtrlGrid |
Description
Returns the parent or, if there is no parent, returns the owner of a child component being read from a stream.
Vcl.DBCGrids.TDBCtrlGrid.GetChildParent inherits from System.Classes.TComponent.GetChildParent. All content below this line refers to System.Classes.TComponent.GetChildParent.
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).