System.Classes.TComponent.SetParentComponent
Delphi
procedure SetParentComponent(Value: TComponent); dynamic;
C++
DYNAMIC void __fastcall SetParentComponent(TComponent* Value);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | System.Classes.pas System.Classes.hpp |
System.Classes | TComponent |
Description
Sets the parent component.
SetParentComponent is used internally in the component streaming system. It is not necessary to call it directly.
Derived classes override this method to implement proper handling for parenting.