|
|
|
|
|
- Control accessible via the Tab key
- Limitations
TABOrder (Property) In french: NumTAB
The TABOrder property gets and sets the position of a control in the tab order of a window. Remarks: - The tab order of window controls is the order in which the controls gain focus when the user presses the Tab key.
- To view the tab order of all the controls in a window, on the "Window" tab, in the "Order" group, expand "Tab order" and select "Edit".
- To set the tab order, on the "Window" tab, in the "Order" group, expand "Tab order" and select "Edit". Use the arrows on the right.
ResTabOrder = EDT_CustomerName.TABOrder
Syntax
Getting the position of a control in the tab order Hide the details
<Result> = <Control to use>.TABOrder
<Result>: Integer - Position of the specified control in the tab order,
- -1 if the specified control cannot be accessed via the [Tab] key.
<Control to use>: Control name Name of the control to be used.
Setting the position of a control in the tab order Hide the details
<Control to use>.TABOrder = <New position>
<Control to use>: Control name Name of the control to be used. <New position>: Integer Position of the specified control in the tab order. This position must be between 1 (first control) and the number of controls in the window. If the new position has already been assigned, the position of the following controls will be moved. Remarks Control accessible via the Tab key To make a control accessible via the Tab key, go to the "UI" tab of the control description, and then in "TAB key action" select "Accessible by TAB". By default, the "Accessible by TAB" option is selected when a control is created. All controls accessible via the Tab key are automatically included in window tab order. By default, the tab order is the order in which the controls are created in the window. Limitations The TABOrder property cannot be used on: - a window,
- a Static, Shape or Image control,
- an option in a Radio Button or Check Box control,
- a row in a List Box, ListView, Combo Box or Table control,
- a cell in a Table control,
- a column in a Table control,
- a menu,
- a tab pane,
- a group of controls,
- an element in a TreeView control.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|