ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Web-specific functions / Browser functions
  • Stop the WEBDEV site
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
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 security reasons, the browser requests an 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 security reasons, Firefox refuses to close the browser if this one was not opened by 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 site

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

Last update: 05/26/2022

Send a report | Local help