Change the
tab order on the window
Where you are
> Change the tab
order on the window
Code some Help events
and preview the window
Write the script to
open the window
When you place controls in a window, PowerBuilder assigns them a
default tab order. The tab order determines the sequence in which focus
moves from control to control when the user presses the Tab key.
Now you change the tab order for the window you created.
-
Select Format>Tab Order from the menu bar.
PowerBuilder displays the default tab order. The number in red
at the right of each control shows the control’s relative position in
the tab order. Controls with the number zero are skipped when the user
tabs in the window. -
Click the tab order number for the sle_userid control.
Type 10 if the tab order value for this control is not already
10.You can type a new tab order number only when the old number
turns blue against a red background. -
Make changes as needed so that the other controls have these
values:Click this control
Control name
Has this value
SingleLineEdit control for entering a
passwordsle_password
20
CommandButton control for the OK
buttoncb_ok
30
CommandButton control for the Cancel
buttoncb_cancel
40
-
Select Format>Tab Order from the menu bar.
This is a toggle switch. Selecting this menu item a second time
saves your changes and clears the tab order numbers from the login
window. You can also use the Tab Order button on the
PainterBar.