Writing the Register Procedure

From RAD Studio
Jump to: navigation, search

Go Up to Registering Components

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 (Page) of the Tool Palette to which you want to add components. Using the RegisterComponents method involves four important things:

  1. Specifying the Components to be Registered
  2. Specifying the Page in the Tool Palette
  3. Using the RegisterComponents Method
  4. Defining the Loading State for Components Registered in a Package

See Also