PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Opening the window
  • Characteristics of opened window
  • Title of window to open
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
Opens a WINDEV window and closes all the other windows that were opened beforehand.
Example
WINDEVJavaUser code (UMC)
// Open the "WIN_EditCustomer" window and close
// all the other windows previously opened
Use(WIN_EditCustomer)
Syntax
Use(<Window name>)
<Window name>: Character string (with or without quotes)
Name of window to open.
By default, the window is displayed according to the position defined in the editor. You have the ability to define the display position of the window. The window name is completed by the display coordinates of window when it is opened. This parameter has the following format: "<Window name>, <Row>, <Column>" where:
  • <Window name>: name of window to open.
  • <Row>: horizontal display coordinates (in pixels) of window (in relation to the top left corner of screen or parent window).
  • <Column>: vertical display coordinate (in pixels) of window (in relation to the top left corner of screen or parent window).
Remarks
WINDEVJavaUser code (UMC)

Opening the window

  • The windows that were opened beforehand are closed. The closing code is not run.
  • The initialization code of project (if it was currently run) is interrupted.
  • The opened window is displayed and its controls are enabled.
  • The opening process of window (if it exists) is run.
WINDEVJavaUser code (UMC)

Characteristics of opened window

The window to open cannot:
  • return a result (it will be ignored),
  • accept mandatory parameters.
WINDEVJavaUser code (UMC)

Title of window to open

By default, the window title is the one defined in the editor.
To modify the window title, use NextTitle or CurrentTitle.
Component : wd240obj.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment