System.Classes.RegisterComponentsProc

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

RegisterComponentsProc: procedure(const Page: string;
const ComponentClasses: array of TComponentClass) = nil;

C++

extern DELPHI_PACKAGE void __fastcall (*RegisterComponentsProc)(const System::UnicodeString Page, TComponentClass const *ComponentClasses, const int ComponentClasses_High);

Properties

Type Visibility Source Unit Parent
variable public
System.Classes.pas
System.Classes.hpp
System.Classes System.Classes

Description

RegisterComponentsProc is called by RegisterComponents.

RegisterComponents is used to install a set of components in the IDE. When it is invoked, it expects RegisterComponentsProc to be defined, and will throw an exception if not. If defined, it is invoked to carry out the component registration.

The Page parameter defines the name of the page on the component palette where the components will appear.

ComponentClasses parameter defines an array of Components to be added to the component palette.

See Also