API:Data.Bind.Components.TContainedBindComponent.SetParentComponent

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: public
Source:
Data.Bind.Components.pas
Data.Bind.Components.hpp
Unit: Data.Bind.Components
Parent: TContainedBindComponent

Delphi

procedure SetParentComponent(AParent: TComponent); override;

C++

DYNAMIC void __fastcall SetParentComponent(System::Classes::TComponent* AParent);

Description

Sets the parent component.

Data.Bind.Components.TContainedBindComponent.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.

See Also