ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Controls, pages and windows / Control functions
  • First control in the tab order
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
ControlFirst (Function)
In french: ChampPremier
Warning
From version 17, FieldFirst is kept for backward compatibility. This function has been replaced with 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 gain 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 is an empty string (""), the window manipulated corresponds to the current window.
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 fields taken into account in the tab order are not necessarily input fields: Combo Box control, Radio Button control, List Box control, and so on.. can be taken into account by the tab order.
Component: wd300obj.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/30/2024

Send a report | Local help