TIDEEngine.RegisterComponent Method
Registers a component class so it appears in the IDE palette toolbar and can be placed in form designs.
Remarks
Use RegisterComponent to make a new component available in the IDE toolbar to be used in form designing. Use APage parameter to specify the name of the tab in the palette toolbar in which the component will appear. ACompClass is the class of the component to be made available, for example TButton, TGroupBox, etc. AUsedUnits is a comma-delimited list with the names of all units that will be added to the script uses clause when the component is used in a form. See TIDERegisteredComp.Units property for more information.
Syntax
Unit: IDEMain
procedure TIDEEngine.RegisterComponent(APage: string; ACompClass: TComponentClass; AUsedUnits: string);
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| APage | string | ||
| ACompClass | TComponentClass | ||
| AUsedUnits | string |