FMX.Types.TFmxObject.SetParentComponent
Delphi
procedure SetParentComponent(Value: TComponent); override;
C++
DYNAMIC void __fastcall SetParentComponent(System::Classes::TComponent* Value);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | FMX.Types.pas FMX.Types.hpp |
FMX.Types | TFmxObject |
Description
Sets the parent component.
FMX.Types.TFmxObject.SetParentComponent inherits from System.Classes.TComponent.SetParentComponent. All content below this line refers to System.Classes.TComponent.SetParentComponent.
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.