ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Control functions
  • First control in the tab order
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Warning
From version 17, FieldFirst is kept for backward compatibility. This function is replaced by ControlFirst.
Indicates the name of the first field specified in the tab order for the specified window. This control corresponds to the fist editable control when opening the window.
Example
// Resume the input in the first control
Reset()
SetFocusAndReturnToUserInput(ControlFirst())
Syntax
<Result> = ControlFirst([<Window used>])
<Result>: Character string
  • Name of the first control in edit in the specified window (this control can gain focus and it cannot be invisible or read-only).
  • Empty string ("") if no control can take focus or if the specified window does not exist.
<Window used>: Optional window name
Name of the window used.
If this parameter is not specified or if it corresponds to an empty string (""), the current window will be used.
Remarks

First control in the tab order

The tab order of the window controls is the order in which the controls gain focus when pressing the TAB key.
To set the tab order in the window editor, on the "Window" tab, in the "Order" group, expand "Tab order" and select "Edit".
The controls taken into account by the tab order are not necessarily Edit controls: Combo Box, Radio Button, List Box controls, etc. can be taken into account by the tab order.
Component: wd290obj.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help