The group box control provides a way of grouping controls in a container.
Group box text is drawn within the top border.
The GroupBox class can be a container for groups of controls. Use a GroupBox class when multiple groups of option buttons are required on the same form. An option button toggles other option buttons within the same container.
To add controls to a group box
Select the group box in the Painter.
Draw the new controls inside the group box.
When the group box is moved, all of the child controls move with it. The top and left position of the child controls are relative to the internal area of the group box (that is, the client area).
The GroupBox control class provides the Sheet subclass.
For a summary of the properties, methods, and events defined in the GroupBox class, see "GroupBox Properties", "GroupBox Methods", and "GroupBox Events", in the following subsections.