Vcl.Forms.TCustomFrame.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 TCustomFrame

Description

Sets the Parent property.

SetParent is the protected implementation of the Parent property. TCustomFrame overrides the method inherited from TControl to:

  • Update the parent form so that it is aware of any action lists in the frame.
  • Regenerate the frame's window so that it fits properly into its new parent.

See Also