Working with IGroupBox Parts

The following tasks are associated with using an IGroupBox* part in visual composition. Tasks that are common to many parts are described in related topics.

Defining a group box label
To specify the text for the group box, set the text property in the IGroupBox* property sheet. Enter the text in the value column.

Arranging controls in a group box
To lay out controls in a group box, you should first add the group box, then add the other controls within the group box. You should add the other controls in the order of their physical appearance.

If you add the group box or enclosed controls out of order, change their depth order within the canvas or other composer that they are placed on. This is described as a common task for control parts.

Defining cursor behavior for controls in a group box
To define keyboard cursoring behavior among enclosed controls, do the following:
  1. Arrange the controls in the physical order you want
  2. Ensure that the depth order of controls matches their physical order
  3. Define the controls as a control group to enable cursor movement among the controls
  4. Define the first control in the group as a tab stop

Changing depth order and defining groups and tab stops are described as common tasks for control parts.


Related procedures
Common Tasks for Control Parts
Setting Part Style Properties
Setting Part Color Properties
Setting Part Font Properties
Setting Part Handlers Properties
Setting Part Framing Properties
Working with VisualAge User Interface Parts

Related references
IGroupBox
Property Settings -- IGroupBox
Portability -- IGroupBox