Web Browser

Navigation:  Widget Designer > Widgets >

Web Browser

Previous page Return to chapter overview Next page

The WebBrowser control lets you add a borderless WebBrowser control to your interface.

wd_widget_web-browser

To create a WebBrowser widget choose "Widgets > WebBrowser". The mouse cursor changes to a crosshair icon, indicating the create mode. With a left-click anywhere on the empty main background window you add the selected widget to the current page. Left-click again if you like to add one more. To quit the create mode, you can switch to the run mode with [F8], where you can use all widgets.

To edit the WebBrowser parameters first switch to the edit / move mode ([F9]) and then right-click on the desired  WebBrowser widget and choose the menu entry "Item Properties", press [ALT+P] whilst the mouse is hovering above it or double-click on it when being in the edit / move mode ([F9]). The WebBrowser Property Dialog opens up.

wd_widget_web-browser-properties

Name

A unique name can be entered to identify the widget via the Object and Member Notation. The default name is based on the widget type and ID.

Page

This drop-down offers all available pages to place the widget on.

ID
The WebBrowser's ID may be changed by entering a new one in the text field top left. If you change it, you will be asked if you also want to adapt the name to the new ID.

Notes

A short note can be added here. It is not displayed outside the widget but can be set and retrieved with the WidgetID.Note property member.

Visible

Uncheck this box to hide the widget.

Fix
When the option “Fix” is checked, the WebBrowser will be displayed on every page.

Size

Enter a pixel size for the WebBrowser's size.

X and Y

Enter the location of the widget (upper left corner) in pixels

URL

Enter the URL which should be displayed in the WebBrowser.

If you want to add buttons to navigate to different URLs or to clear the cache info you may use CustomScript buttons and these commands to remote control the WebBrowser.