Parameter | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
sURL | The URL to open | |||||||||
eBrowserTarget | Valid values are:
|
Procedure NavigateToPage String sURL Integer eBrowserTarget
Call: | Send NavigateToPage sURL eBrowserTarget |
Send NavigateToPage to open a URL in a new browser tab, a new browser window or to replace your web application (using the current browser window).
If you pass the btCurrentWindow parameter, then the passed URL will displace your web application on the browser.
You can use NavigateNewWindow to open a new window with a specific size.
This sample shows how to open a new browser tab that navigates to the Data Access Worldwide home page when a button or menu item is clicked.
Procedure OnClick Forward Send OnClick Send NavigateToPage "https://www.dataaccess.com" btNewTab End_ProcedureSee Also
NavigateNewWindow | NavigateRefresh | ShowMessageBox | ShowInfoBox | ShowYesNo