DesignIntf.IDesigner.CreateChild
[–] Properties | |
---|---|
Type: function | |
Visibility: public | |
Source: DesignIntf.pas DesignIntf.hpp
| |
Unit: DesignIntf | |
Parent: IDesigner |
Delphi
function CreateChild(ComponentClass: TComponentClass; Parent: TComponent): TComponent;
C++
virtual System::Classes::TComponent* __fastcall CreateChild(System::Classes::TComponentClass ComponentClass, System::Classes::TComponent* Parent) = 0 ;
Description
Creates a child control onto its parent.
Call CreateChild to create a child that is exclusively managed by its parent. For example, a TListBoxItem in a TListBox component. Notice that the designer will not determine if the parent is a proper container, so the user should select the correct one.