Establishing the default tab order
PowerBuilder uses the relative positions of controls in a window
to establish the default tab order. It looks at the positions in the
following order:
-
The distance of the control from the top of the window
(Y) -
The distance of the control from the left edge of the window
(X)
The control with the smallest Y distance is the first control in
the default tab order. If multiple controls have the same Y distance,
PowerBuilder uses the X distance to determine the tab order among
them.
Default tab values
The default tab value for drawing objects and RadioButtons in
a GroupBox is 0, which means the control is skipped when the user
tabs from control to control.
When you add a control to the window, PowerBuilder obtains the
tab value of the control that precedes the new control in the tab
order and assigns the new control the next number.
For example, if the tab values for controls A, B, and C are 30,
10, and 20 respectively and you add control D between controls A and
B, PowerBuilder assigns control D the tab value 40.