NavigateToPage - cWebApp
Opens a URL in a new browser tab, a new browser window or replaces your web application
Type: Procedure
Parameters
| Parameter | Type | Description |
|---|---|---|
| sURL | String | The URL to open |
| eBrowserTarget | Integer | Valid values are:ConstantMeaning |
Syntax
Procedure NavigateToPage String sURL Integer eBrowserTarget
Call Example
Send NavigateToPage sURL eBrowserTarget
Description
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.
Sample
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_Procedure
See Also
NavigateNewWindow | NavigateRefresh | ShowMessageBox | ShowInfoBox | ShowYesNo