RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCategoryButtons Class

Defines a group of categorized buttons.

Pascal
TCategoryButtons = class(TCustomControl);
C++
class TCategoryButtons : public TCustomControl;

TCategoryButtons is used for creating groups of buttons that can be categorized, as on a tool palette. It provides more flexibility than a tool bar. 

The TCategoryButtons object can contain TButtonCategory objects, each representing a set of buttons in the same category. Each TButtonCategory object can contain TButtonItem objects. The TButtonCategory and TButtonItem objects can be dynamically reordered. For instance, a button may be dragged or copied from one category to another. Categories can be expanded to show all buttons or collapsed to hide them. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!