The TcxGroupBox
component represents a group box control. It is a container component, that is, it can contain other components. You can use TcxGroupBox
to group components within a form into a labeled group.
The group caption is specified by the Caption
property. The Height
and Width
properties let you determine or set the group box size. The Color
property lets you change the background color of the group box.
Note: | If you use a Windows theme other than Windows Classic, the Color property is ignored and the group box is transparent. |
The TcxGroupBox
component raises a number of events that you can process in your scripts.
You can also use the TcxGroupBox
component as a panel. To do that, set the Alignment
property to “alCenterCenter”. This will center the group box caption text within the component.