ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Your version: 01F250083H (WINDEV 25)

Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
  • Control accessible via the Tab key
  • Limits
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
..TABOrder is used to find out and modify 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 take focus when the user presses the Tab key.
  • To find out the tab order of all the controls in a window, on the "Window" pane, in the "Order" group, expand "Tab order" and select "Edit".
  • To modify the tab order, on the "Window" pane, in the "Order" group, expand "Tab order" and select "Edit". Use the arrows found on the right.
Example
// Tab order of "EDT_CustomerName" control
ResTabOrder = EDT_CustomerName..TABOrder
Syntax

Finding out the position of a control in the tab order Hide the details

<Result> = <Control to use>..TABOrder
<Result>: Integer
  • Position of 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 control to use.

Modifying 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 control to use.
<New position>: Integer
Position of specified control in the tab order. This position must be included between 1 (first control) and the number of controls in the window. If the new position corresponds to a position that is already assigned, the positions of the following controls are moved accordingly.
Remarks

Control accessible via the Tab key

To make a control accessible via the Tab key, check "Accessible by TAB" in the "UI" tab of the control description.
By default, when a control is created, "Accessible by TAB" is checked.
All controls accessible via the Tab key are automatically included in window tab order. By default, the tab order is the order in which controls were created in the window.

Limits

..TABOrder 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 Table control,
  • a menu,
  • a tab pane,
  • a group of controls,
  • an element in a TreeView control.
Java ..TABOrder only applies to the following elements:
  • Button control.
  • Edit control.
  • Check Box control.
  • Radio Button control.
  • List Box control.
  • Combo Box control.
  • TreeView control.
  • Tab control.
  • Table control.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/09/2020

Send a report | Local help