This component embeds a web browser view into your Project. No browser controls are shown, only the page
The browser is the default provided by the operating system, so has the same features and limitations as
- Windows: Internet Explorer 11 (not Edge). Note: a registry key is required for standalone (published) Windows apps, see below.
- MacOS: Safari
- Android: Android web view (not Chrome)
- iOS: Mobile Safari
The web view displays the default URL when first shown. You can use the Set Web View URL action to
navigate the web view to a different URL.
If a Umajin component goes over top of the web view, it will be hidden and a placeholder displayed instead.
Properties for Web View Component
|Name||When components are placed on a page they appear highlighted blue in the scene tree and can|
be renamed by double clicking in this panel and typing the new name. Components can also be
set to be visible/invisible on the page, using the ‘eye’ icon on this panel.
|Position and Size||Sets position and size. As long as measurements are maintained as percentages it deals|
automatically with dynamic layout and resizing for different devices and orientations. You
can use millimeters to control aspects of size like width or height on order to create a web
view component thats size will be maintained across devices.
|Default URL||Displays default Umajin URL which can be edited to display desired URL.|
|Clear on hide||Checkbox.|
The Web View Component has 3 special events that you can add actions to. These can be found under the
Actions Tab. There is a specific Action which is useful with these events which will cause navigation to a
new URL – Navigation category, ‘Set Web View URL’
|On Progress||will instigate the action as the URL is downloading.|
|On Complete||will instigate the action when the component has completed its task.|
|On Error||will instigate the action when an error occurs.|
Using WebView in Standalone Windows Apps
If you want to run your app standalone on Windows:
The Web View component in Editor uses an embedded Internet Explorer ActiveX component on Windows. By default this control defaults to ancient “IE7 compatible” view.
To make it more useful, we need to configure the embedded IE control into a more modern rendering mode, using the registry key at
Add a DWORD named <yourappname>.exe and set it’s value to decimal 11000
For more information: Internet Explorer Browser Emulation