ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Controls, pages and windows / Window functions
  • Uppercase/Lowercase characters
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
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 modeless windows.
Reminder: The current window is the window in focus: this window is in input mode and its title bar is active.
WEBDEV - Server code You can also use PreviousPage.
Example
// Nom de la fenêtre précédente
ResFenPrécédente = 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 exists, or if the window previously edited was closed before calling PreviousWin.
Remarks
WINDEVReports and QueriesUser code (UMC)

Uppercase/Lowercase characters

The window name can be written in uppercase or lowercase characters. The "~=" operator (loose equality) should be used to compare the window name returned by PreviousWin with a hard-coded window name.
For example:
IF PreviousWin() ~= "SaisieFenêtre" THEN
	...
END
Component: wd300obj.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/21/2024

Send a report | Local help