PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

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
Use (External language)
In French: Utilise
Opens the specified window and closes all the windows that were 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 open. This parameter includes the path, the name and the extension of the window (the extension of the WINDEV windows is ".WDW" by default).
<X>: Integer (optional)
X coordinate (in pixels) of the window (in relation to the top 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 required version
  • Version 14
Comments
Click [Add] to post a comment