API:Vcl.ExtCtrls.TNotebook.GetChildOwner
Delphi
function GetChildOwner: TComponent; override;
C++
DYNAMIC System::Classes::TComponent* __fastcall GetChildOwner(void);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Vcl.ExtCtrls.pas Vcl.ExtCtrls.hpp |
Vcl.ExtCtrls | TNotebook |
Description
Returns the owner of a child component being read from a stream.
Vcl.ExtCtrls.TNotebook.GetChildOwner inherits from System.Classes.TComponent.GetChildOwner. All content below this line refers to System.Classes.TComponent.GetChildOwner.
Returns the owner of a child component being read from a stream.
GetChildOwner is used internally by the component streaming system. It is rarely necessary to call it directly.
In TComponent, GetChildOwner always returns nil (Delphi) or NULL (C++), indicating that the owner is the root component currently being read (usually a form or data module). The Owner of a component is responsible for destroying it.