DesignEditors.TComponentEditor.Create

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: constructor
Visibility: public
Source:
DesignEditors.pas
DesignEditors.hpp
Unit: DesignEditors
Parent: TComponentEditor

Delphi

constructor Create(AComponent: TComponent; ADesigner: IDesigner); override;

C++

__fastcall virtual TComponentEditor(System::Classes::TComponent* AComponent, Designintf::_di_IDesigner ADesigner);

Description

Instantiates a component editor.

Do not create instances of TComponentEditor. The form designer creates component editor instances for a selected component.

AComponent is the selected component on which the editor will operate.

ADesigner is the form designer's interface, which can be used to obtain information about the components and methods in the designer and to create or manipulate components and methods.

See Also