TAdvCustomFormDesigner.GetIDEComponentEditor Method
Retrieves the TIDEComponentEditor object (if any) registered for a component being edited.
Remarks
GetIDEComponentEditor retrieves a reference to a TIDEComponentEditor object applicable to the specified component. If the object instance is not created, this method automatically creates it. The form designer takes care of the object destruction. The correct editor retrieved depends on what has been previously registered with RegisteredIDEComponentEditor.
Syntax
Unit: FormDesigner
function TAdvCustomFormDesigner.GetIDEComponentEditor(AComp: TComponent): TIDEComponentEditor; virtual;
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| AComp | TComponent | The component for which the component editor will be provided. |
Returns
A valid instance of TIDEComponentEditor. If the component has no registered editor, result is nil.