API:DesignEditors.TComponentEditor.Create
Delphi
constructor Create(AComponent: TComponent; ADesigner: IDesigner); override;
C++
__fastcall virtual TComponentEditor(System::Classes::TComponent* AComponent, Designintf::_di_IDesigner ADesigner);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | DesignEditors.pas DesignEditors.hpp |
DesignEditors | TComponentEditor |
Description
Creates a new TBaseComponentEditor object.
DesignEditors.TComponentEditor.Create inherits from DesignIntf.TBaseComponentEditor.Create. All content below this line refers to DesignIntf.TBaseComponentEditor.Create.
Creates a new TBaseComponentEditor object.
Do not create instances of a component editor. Registered component editors are created automatically for selected objects in the form designer.
AComponent is the instance of the component for which the editor is created.
ADesigner is an interface that the component editor can use to interact with the forms designer.