PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

This content comes from an automatic translation.
  • 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 navigation order of a window.
Remarks:
  • The navigation order of window controls describes 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 found in a window, on the "Window" pane, in the "Order" group, expand "Navigation" and select "Edit".
  • To modify the navigation order, on the "Window" pane, in the "Order" group, expand "Navigation" and select "Edit". Use the arrows found on the right.
Versions 15 and later
Android This property is now available for the Android applications.
New in version 15
Android This property is now available for the Android applications.
Android This property is now available for the Android applications.
Example
// Tab order of "EDT_CustomerName" control
ResNavigation = EDT_CustomerName..TABOrder
Syntax

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

<Result> = <Control to use>..TABOrder
<Result>: Integer
  • Position of specified control in the navigation 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 navigation 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 navigation 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 field accessible by pressing the Tab key, check the "Accessible by TAB" option in the "UI" tab of the field description.
By default, the "Accessible by TAB" option is checked when creating a field.
All controls accessible via the Tab key are automatically included in the navigation order of window. By default, the navigation order corresponds to the creation order of controls 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