App.WebLinkWithinViewX
Use the WebLinkWithinViewX application property to display an external webpage in a ViewX window (rather than in an external web browser). It is a Boolean property that should be set before calling a function that sets the script to open a display in a new window (such as the App.OpenWindow, App.OpenWindowOnHead, or App.NavigateOnHead functions).
We strongly recommend that you only link to and open external webpages that are from trusted sources to help prevent potential security risks that are associated with accessing external content.
Inset windows in Mimics only support links to objects and not to other URL types.
| Syntax |
App.WebLinkWithinViewX = Value |
| Description |
The WebLinkWithinViewX Boolean property, when set, causes the link to an external webpage to open in a ViewX window, instead of opening it in an external browser window. |
| Arguments |
Value {Boolean} If set to True, the webpage opens in a new ViewX window. If set to False, the webpage opens in an external browser window. |
| Returns |
Boolean. |
Example:
The following example is a script to open the Schneider Electric webpage in a new window in ViewX:
sub testlink
App.WebLinkWithinViewX = True
App.OpenWindow "www.se.com"
end sub