About Setting Groups and Tab Stops

The tabbing order is the sequence in which the input focus moves from part to part as the user presses the Tab key. The first part in the tabbing order receives the initial input focus. For example, if the first part in the tabbing order is a push button, that push button receives the initial input focus when the application starts. The tabbing order can also indicate the order in which the input focus moves among parts within a tab group as the user presses the arrow keys. Tabbing order is related to depth order.

The tabbing order can only be set for parts that are placed within a Composers part. For example, if you place a row of push buttons in a frame window, you can set the tabbing order for the push buttons.

The following guidelines are for setting groups and tab stops:

All parts within a composite part that have only Group selected are treated as a single tabbing unit. When the user tabs within the composite part, input focus moves to the next tab stop whether it is within the group or not. When the user uses the keyboard arrow keys, the input focus moves between all parts within the group, regardless of which parts have Tab stop selected.

Grouped radio buttons are special in that they become mutually exclusive within their group. For example, suppose you have four consecutive radio buttons in your list and you select Group for RadioButton1 and RadioButton3. In this case, RadioButton1 and RadioButton2 become mutually exclusive in their group, and RadioButton3 and RadioButton4 become mutually exclusive in their group.

You can set the group and tab stops from the pop-up menu. You can display the tabbing order by opening a parts list for the Composers part that contains the push buttons. You can change the tabbing order within the parts list, by changing the positions of parts.

If the tabbing order includes each entry field in which a user can type, the user can move the input focus from one entry field to another. Arrow keys only move the cursor within an entry field; only the Tab key, backtab key, and mouse can change the input focus from one entry field to another. Read-only fields do not need to be included in the tabbing order.

As you add or rearrange parts, you will probably need to change the tabbing order. For example, rearrange three push buttons so that PushButton3 is between PushButton1 and PushButton2. The tabbing order is still PushButton1, PushButton2, PushButton3, even though PushButton3 is now between PushButton1 and PushButton2. You must change the order in the parts list to have the focus move from PushButton1, to PushButton3, and then PushButton2.


Related procedures
Changing the Tabbing Order
Setting Tab Stops and Groups
Changing Depth Order within a Composite Part

Related references
IGroupBox
IOutlineBox