Control.ControlOrder

Read-Only
The order in which controls receive the focus when the user presses the Tab key. The control order is controlled by the control layers.

Syntax
ControlOrder( Integer ) as

Parameters
Integer |

# Notes

When a window opens, the control that is the farthest back initially gets the focus; its ControlOrder is zero. The ControlOrder can be set in the IDE by changing the value of a control's ControlOrder in the Properties pane, by using the Front, Forward, Backward, and Back buttons in the Layout Editor toolbar, or by using the equivalent commands in the Edit . Arrange submenu.