RAD Studio |  |

Writing the Register Procedure

Inside the Register procedure of a unit containing components, you must register each component you want to add to the Tool palette. If the unit contains several components, you can register them at the same time.

To register a component, call the RegisterComponents procedure once for each category of the Tool palette to which you want to add components. RegisterComponents involves three important things:

1. Specifying the components.
2. Specifying the palette page.
3. Using the RegisterComponents function.

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!