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
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Warning
From version 17, NextField is kept for backward compatibility. This function has been replaced with ControlNext.
Returns the name of the next control in input mode.
Warning: This function must only be used in the "Output" event of a field..
Example
// Identification du champ suivant en saisie
ResChamp = ControlNext()
Syntax
<Result> = ControlNext()
<Result>: Character string
Name of the next control in input mode. The name of the control has the same uppercase/lowercase characters as when it 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, under the "Window" pane, in the "Order" group, pull down "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: 03/28/2025

Send a report | Local help