RegisterIDEComponentEditor Method
Registers an IDE component editor for a specified component class.
Remarks
Call RegisterIDEComponentEditor to specify a custom component editor for a specific component. Custom component editors allow you to provide custom actions when the end-user double clicks a component in the designer, or to show custom context menu items when end-user right clicks a component.
Syntax
Unit: FormDesigner
procedure RegisterIDEComponentEditor(ComponentClass: TComponentClass; ComponentEditor: TIDEComponentEditorClass);
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| ComponentClass | TComponentClass | The class of the component for which the component editor will be registered. |
|
| ComponentEditor | TIDEComponent​Editor​Class | The class of the component editor to be registered for the specified component. |
Examples
RegisterIDEComponentEditor(TPageControl, TPageControlIDEEditor);