Platforms to show: All Mac Windows Linux Cross-Platform

WebView2ControlMBS control

See also desktop control: DesktopWebView2ControlMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
control WebView2 MBS WinFrameworks Plugin 20.5 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Function: The MBS control for the Chrome based WebView2 control from Microsoft.
Read about WebView2 control here:

There you also fine the installers needed to install it, unless you have the 2021 version of Windows, which may include it preinstalled.

If you use this control on macOS and Linux, it will do nothing.
On Windows if the control fails to initialize, the Opened event will not fire.
But if it fires, it will be some time after the open event fired as initialization is asynchronous.

If you call LoadURL, LoadHTML or set URL property too early, we cache that and perform the action later when the web viewer is initialized properly.

If you add an event, we register it with the C++ control. So if you don't specify an event, you may get the default behavior.

All functions may raise WebView2ExceptionMBS in case of errors.

Some examples using this control:

Blog Entries

Xojo Developer Magazine

The items on this page are in the following plugins: MBS WinFrameworks Plugin.

SCNIOSControlMBS   -   WinPreviewControlMBS

💬 Ask a question or report a problem
The biggest plugin in space...