Changing the Runtime Tab Sequence
To change the tab sequence that the user experiences at run time
-
Select the Tab Ordering command from the Controls menu.
-
Click Tab ordering button on the Tools toolbar.
The tab indexes are then displayed in the top left of each control of your form, as shown in the following example.
By default, JADE assigns a tab order to controls as you define them on your form.
Each new control is placed last in the tab order. The valid range is any integer value.
Controls are pasted on the form in controlList order (that is, the order in which you add them to the form). The order in this list can change during editing, because parent controls must always precede their children. Controls are copied to the Painter clipboard in controlList order. When pasted, each control is added to the form and a new
To change tab indexes
-
Click the tab index that you want to change.
-
Enter the new tab index value (in the range 1 through 9999).
-
Press the Enter key or the TAB key.
-
Repeat steps 1 through 3 for each tab index that you want to change.
-
To return to normal Painter mode, select the Tab Ordering command from the Controls menu once more. The tab indexes are then no longer displayed on your form.
When you change the tab order by using the Tab Ordering command, you change the value of the tabIndex property of the control. If the
JADE automatically renumbers the tabIndex value of other controls to reflect insertions, deletions, and changes that would result in a tab number conflict.
All controls except menus are included in the tab order. At run time, invisible or disabled controls and controls that cannot receive the focus (that is, frames and labels) remain in the tab order but are skipped during tabbing.
You can neither change the tab order of controls that belong to a superform nor use the tab number of a subform.
When changing the tab number to a number that already exists, JADE automatically increments the tabs of all other controls. Each control must have a unique tab number.
Control Order on Touchscreens
When a device is running with accessibility options enabled, JADE changes the z-order of controls within each parent to match the tabIndex property value order when the form is created so that screen‑reading software such as JAWS or Microsoft Narrator read the correct text associated with controls. These software utilities assume that the z‑order defines the control associations; for example, the label associated with a text box or combo box.
This means, however, that any arrangement of the z‑order of the controls within the JADE Painter could be lost unless the
Changing the tab index of controls at run time does not have any impact on the z‑order of controls within the parent.
Calling the
When Accessibility is enabled, JADE cannot be sure whether screen‑reading software is active. Narrator, for example, does not set a system flag to indicate it is active, and other software can confusingly claim that screen reading is active. This problem has become more visible with the arrival of touchscreen PCs, where accessibility is usually active by default.
As a result, when defining forms where the zOrder of controls is established within the JADE Painter, ensure that the tabIndex ordering of the affected controls matches the required order, so that the same behavior occurs on PCs regardless of the accessibility state.
Alternatively, add calls to the Window class zOrder method to establish the z‑order requirements at run time.