PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Uppercase/Lowercase characters
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
Identifies the window that was in edit before the window that is currently in edit (for the same project). This function is used for multi-windowing.
Reminder: The current window is the window that has focus: this window is in edit and its title bar is active.
WEBDEV - Server code You also have the ability to use PreviousPage.
Versions 16 and later
WINDEVLinux This function is now available for the WINDEV applications in Linux.
New in version 16
WINDEVLinux This function is now available for the WINDEV applications in Linux.
WINDEVLinux This function is now available for the WINDEV applications in Linux.
Example
// Name of the previous window
ResPreviousWin = PreviousWin()
Syntax
<Result> = PreviousWin()
<Result>: Character string
  • Name of the window that was previously in edit,
  • Alias of the window that was previously in edit (if this alias was specified when the window was opened).
  • Empty string ("") if no previous window is found or if the window previously in edit was closed before the call to PreviousWin.
Remarks
WINDEVReports and QueriesWindows MobileUser code (UMC)

Uppercase/Lowercase characters

The window name can be written in uppercase or lowercase characters. We recommend that you use the "~=" operator (flexible equality) to compare the window name returned by PreviousWin to a hard-coded window name.
For example:
IF PreviousWin() ~= "EditWindow" THEN
...
END
Components
WINDEVReports and Queries wd230obj.dll
WEBDEV - Server code wd230page.dll
Windows Mobile wp230obj.dll
Linux wd230obj.so
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment