Property Categories
Go Up to Making Components Available at Design Time
The Object Inspector allows grouping components properties by category. See Properties page for more information.
Registering Properties of Custom Components in the Properties Page
RAD Studio allows you to register the properties of a new custom component in the existing categories of the Properties page.
You can register the properties into a specific category at the same time that you register the new component, by calling RegisterPropertyInCategory or RegisterPropertiesInCategory.
- Use
RegisterPropertyInCategory
to register a single property. - Use
RegisterPropertiesInCategory
to register multiple properties in a single function call.
- Note: These functions are defined in the unit DesignIntf.
Note that it is not mandatory that you register properties or that you register all of the properties of a custom component when some are registered. Any property not explicitly associated with a category is included in the TMiscellaneousCategory category. Such properties are displayed or hidden in the Object Inspector based on that default categorization.
In addition to these two functions for registering properties, there is an IsPropertyInCategory
function. This function is useful for creating localization utilities, in which you must determine whether a property is registered in a given property category.