RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Classes.RegisterComponentsProc Variable

RegisterComponentsProc is called by RegisterComponents.

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

Classes

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!