AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Controles, páginas y ventanas / Funciones de ventanas
  • Uppercase/Lowercase characters
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
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 that has focus: this window is in edit and its title bar is active.
WEBDEV - Server code You can also use PreviousPage.
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 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 (flexible equality) should be used to compare the window name returned by PreviousWin with a hard-coded window name.
For example:
IF PreviousWin() ~= "EditWindow" THEN
...
END
Component: wd290obj.dll
Versión mínima requerida
  • Versión 9
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 26/05/2022

Señalar un error o enviar una sugerencia | Ayuda local