PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
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, 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 : wd240obj.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment