Show: Delphi C++
Display Preferences

Writing the Register Procedure

From RAD Studio XE2
Jump to: navigation, search

Go Up to Making components available at design time Index

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 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 Procedure.
Personal tools
Previous Versions
In other languages