PocketBuilder 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, PocketBuilder uses the X distance to determine the tab order among these controls.
Default tab values for drawing objects and radio buttons 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, PocketBuilder obtains the tab value of the control that precedes the new control in the tab order and assigns the new control the next number. The values assigned are multiples of 10.
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, PocketBuilder assigns control D the tab value 40.