DesignIntf.IDesigner60.CreateComponent
Delphi
function CreateComponent(ComponentClass: TComponentClass; Parent: TComponent;
Left, Top, Width, Height: Integer): TComponent;
C++
virtual System::Classes::TComponent* __fastcall CreateComponent(System::Classes::TComponentClass ComponentClass, System::Classes::TComponent* Parent, int Left, int Top, int Width, int Height) = 0 ;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | DesignIntf.pas DesignIntf.hpp |
DesignIntf | IDesigner60 |
Description
Creates a specified component.
Call CreateComponent to create an instance of ComponentClass at the position specified by the Left and Top parameters with the size specified by the Width and Height parameters. The new component will be a child of the component specified by the Parent parameter.