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.
RegisterPropertyInCategoryto register a single property.
RegisterPropertiesInCategoryto 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.