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
  • Opening the window
  • Characteristics of the opened window
  • Title of the window to be opened
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Opens a WINDEV window and closes all other previously open windows.
WEBDEV - Server codePHP This function has the same effect as PageUse, which improves code portability between WINDEV and WEBDEV.
Example
WINDEVReports and QueriesAndroidJavaUser code (UMC)
// Ouverture de la fenêtre "FEN_SaisieClient" et fermeture
// de toutes les autres fenêtres précédemment ouvertes
Use(FEN_SaisieClient)
Syntax
Use(<Name of the window>)
<Name of the window>: Character string
Name of the window to be opened.
By default, the window is displayed according to the position defined in the editor. You can define the display position of the window. The window name is completed by the window display coordinates when opened. This parameter is of the form: "<Nom de la fenêtre>, <Ligne>, <Colonne>" where:
  • <Nom de la fenêtre> name of the window to be opened.
  • <Ligne>: horizontal coordinate (in pixels) of window display (relative to top left corner of screen or parent window).
  • <Colonne>: vertical coordinate (in pixels) of window display (relative to top left corner of screen or parent window).
Remarks
WINDEVReports and QueriesAndroidJavaUser code (UMC)

Opening the window

  • Previously opened windows are closed. The closing code is not run.
  • The project initialization code (if running) is interrupted.
  • The opened window is displayed and its controls are enabled.
  • The window opening process (if any) is executed.
WINDEVReports and QueriesAndroidJavaUser code (UMC)

Characteristics of the opened window

The window to be opened cannot:
  • return a result (it will be ignored),
  • accept mandatory parameters.
WINDEVReports and QueriesAndroidJavaUser code (UMC)

Title of the window to be opened

By default, the window title is the one defined in the editor.
To change the window title, use NextTitle or CurrentTitle.
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