Vcl.Forms.TCustomForm.SetParent

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SetParent(AParent: TWinControl); override;

C++

virtual void __fastcall SetParent(Vcl::Controls::TWinControl* AParent);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.Forms.pas
Vcl.Forms.hpp
Vcl.Forms TCustomForm

Description

Sets the Parent property.

SetParent is the protected implementation of the Parent property. It overrides the inherited method to regenerate the form's window when the Parent property is changed to nil (Delphi) or NULL (C++).

See Also