ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Web-specific functions / Browser functions
  • Stop the WEBDEV website
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Closes the current browser window and stops the execution of current code. You also have the ability to close a specific browser.
Special cases:
  • Internet Explorer: For Internet security reasons, the browser requires authorization before closing.. If the user answers "No" to the closing request sent by the browser, the browser is not closed but the code currently run is stopped.
  • FireFox: For Internet security reasons, FireFox refuses to close the browser if it has not been opened with BrowserOpen.
Example
BrowserClose()
Syntax

Closing the current browser

BrowserClose()

Closing the browser identified by an identifier Hide the details

BrowserClose(<Identifier>)
<Identifier>: Integer
Identifier of the browser window to close. This identifier is returned by BrowserOpen.
Remarks

Stop the WEBDEV website

The BrowserClose function only closes the current browser window: this function does not stop a WEBDEV site.. To stop a WEBDEV site, use the EndProgram function.
Component: WDJS.DLL
Minimum version required
  • Version 9
Comments
Click [Add] to post a comment

Last update: 10/04/2024

Send a report | Local help