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.
Versions 16 and later
WINDEVLinux This function is now available for WINDEV applications in Linux.
New in version 16
WINDEVLinux This function is now available for WINDEV applications in Linux.
WINDEVLinux This function is now available for WINDEV applications in Linux.
Versions 19 and later
Universal Windows 10 App This function is now available in Windows Store apps mode.
New in version 19
Universal Windows 10 App This function is now available in Windows Store apps mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
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