PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Stop the WEBDEV site
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
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 can only be used to close the current browser window: this function cannot be used to stop a WEBDEV site. To stop a WEBDEV site, use EndProgram.
Components
WEBDEV - Browser code WDJS.DLL
Minimum required version
  • Version 9
Comments
Click [Add] to post a comment