ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Control functions
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, NextField is kept for backward compatibility. This function is replaced by ControlNext.
Returns the name of the next control in input mode.
Caution: This function should be used only in the "Exit" event of a control.
Example
// Identify the next control in input mode
ResControl = ControlNext()
Syntax
<Result> = ControlNext()
<Result>: Character string
Name of the next control in input mode. The name of the control should be written with the same uppercase/lowercase characters as when the control was created.
Remarks
  • ControlNext can only be called in the "Exit" event of a control. If ControlNext is called in another event or process, the name of the control returned will not make sense.
  • When the user presses the TAB key, ControlNext returns the name of the next control according to the tab order defined in the editor.
    Reminder: To set the tab order, go to the "Window" tab, "Order" group, expand "Tab order" and select "Edit".
  • However, when the user clicks a control, ControlNext returns the name of that control.
  • Android ControlNext is not supported on Looper controls.
Business / UI classification: UI Code
Component: wd300obj.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