ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Window management functions
  • Opening the window
  • Characteristics of the opened window
  • Title of the window to be opened
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
Opens a WINDEV window and closes all the other windows that were opened beforehand.
WEBDEV - Server codePHP To optimize code share between WINDEV and WEBDEV, this function is identical to PageDisplay.
Example
WINDEVReports and QueriesAndroidJavaUser code (UMC)
// Open the "WIN_EditCustomer" window and close
// all other previously opened windows
Use(WIN_EditCustomer)
Syntax
Use(<Window name>)
<Window name>: 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 has the following format: "<Window name>, <Row>, <Column>" where:
  • <Window name>: name of the window to be opened.
  • <Row>: window display horizontal coordinate (in pixels, relative to the upper-left corner of the screen or parent window).
  • <Column>: window display vertical coordinate (in pixels, relative to the upper-left corner of the 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 modify the window title, use NextTitle or CurrentTitle.
Component: wd270obj.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help