PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
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
Warning
From version 17, NextField is kept for backward compatibility. This function is replaced by ControlNext.
Returns the name of the following control in input.
Caution: This function should only be used in the "Exit" event of an control.
Example
// Identify the next control in edit
ResControl = ControlNext()
Syntax
<Result> = ControlNext()
<Result>: Character string
Name of the next control in edit. The case of the control name (uppercase/lowercase characters) corresponds to the one used when the control was created in the editor.
Remarks
  • The ControlNext function can only be called in the "Exit" event of an 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 control that follows the current one in the tab order defined in the editor.
    Reminder: To set the tab order, on the "Window" pane, in the "Order" group, expand "Tab order" and select "Edit".
  • On the contrary, when the user clicks a control, ControlNext returns the name of the control that was clicked by the user.
Business / UI classification: UI Code
Component: wd260obj.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment