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, PreviousField is kept for backward compatibility. This function is replaced by ControlPrevious.
Specifies the name of control that was in edit before the current control.
Example
// EDT_CITY entry code
// if coming from the "EDT_ZIP" control
IF ControlPrevious() = EDT_ZIP THEN
// Fill the name according to ZC
EDT_CITY = ZIPToCity(EDT_ZIP)
END
Syntax
<Result> = ControlPrevious()
<Result>: Character string
  • Name of control that was previously in edit (in the current window).
  • Empty string ("") if the current control is the first window control.
Remarks
  • ControlCurrent is used to find out the name of control currently in edit.
  • The name of the control is always relative to the current window.
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