Property Categories

As you learned back in Chapter 1, “Programming in Delphi,” a feature new as of Delphi 5 is property categories. This feature provides a means for the properties of VCL components to be specified as belonging to particular categories and for the Object Inspector to be sorted by these categories. Properties can be registered as belonging to a particular category using the RegisterPropertyInCategory() and RegisterPropertiesInCategory() functions declared in the DesignIntf unit. The former enables you to register a single property for a category, whereas the latter allows you to register multiple properties with one call.

RegisterPropertyInCategory() is overloaded in order to provide four different versions of this function to ...

Get Borland® Delphi™ 6 Developer's Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.