[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'Classes' (#rtl)

# RegisterComponents

Registers components for the component palette.

## Declaration

Source position: classesh.inc line 2235

`procedure RegisterComponents(`
`const Page: string;`
`ComponentClasses: array of TComponentClass`
`);`

## Description

RegisterComponents registers the component on the appropriate component page. The component pages can be used by an IDE to display the known components so an application programmer may pick and use the components in his programs.

Registercomponents inserts the component class in the correct component page. If the RegisterComponentsProc procedure is set, this is called as well. Note that this behaviour is different from Delphi's behaviour where an exception will be raised if the procedural variable is not set.

## See also

RegisterClass |  | Registers a class with the streaming system.
RegisterNoIcon |  | Registers components that have no icon on the component palette.

Documentation generated on: May 14 2021