PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • 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.
Example
Reports and Queries
// 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 have the ability to 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
Reports and Queries

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.
Reports and Queries

Characteristics of the opened window

The window to be opened cannot:
  • return a result (it will be ignored),
  • accept mandatory parameters.
Reports and Queries

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