ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Managing external languages / Object functions
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
Use (External language)
In french: Utilise
Opens the specified window by closing all the windows opened beforehand.
Example
// In C
CALLWD("Use,Main.WDW");
// In Pascal
CALLWD('Use,Main.WDW');
// In VB
call CALLWD("Use,Main.WDW")
Syntax
Use(<Window name> [, <X> [, <Y> [, </CR>]]])
<Window name>: Character string
Name of the window to be opened. This parameter includes the path, the name and the extension of the window (the extension of WINDEV windows is ".WDW" by default).
<X>: Integer (optional)
X-coordinate (in pixels) of window (in relation to the upper-left corner of the screen or parent window).
<Y>: Integer (optional)
Display y-coordinate (in pixels) of the window (in relation to the top left corner of the screen).
</CR>: Parameter (optional)
Enables you to detect whether an error occurred.
Remarks
  • If the /CR parameter is specified, the "E*" status code is returned in WdKey in case of an error.
  • To modify the title of the window, you must use Windows,TNext or Windows,TCurrent.
  • Use must not be called during an interactive test. Otherwise, an error message will be displayed. No parameter can be passed to the window via this function.
  • If a window calls global procedures, the project must be run by Project before opening the window, otherwise the global procedures and the style sheet will not be recognized.
Minimum version required
  • Version 14
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help