RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomForm.SetParent Method

Sets the Parent property.

Pascal
procedure SetParent(AParent: TWinControl); override;
C++
virtual __fastcall SetParent(TWinControl * AParent);

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++). 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!