Platforms to show: All Mac Windows Linux Cross-Platform
Back to IEWebBrowserMBS class.
IEWebBrowserMBS.GetInternetExplorerHiDPI as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | HTMLViewer Win | MBS Win Plugin | 20.2 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
We can opt-in for your application to let HTMLviewer use proper resolution handling for web content.
IEWebBrowserMBS.GetInternetExplorerVersion as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | HTMLViewer Win | MBS Win Plugin | 20.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
Queries the Internet Explorer version to use for HTMLViewer.
Some examples using this method:
IEWebBrowserMBS.SetInternetExplorerHiDPI(Enable as Boolean) as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | HTMLViewer Win | MBS Win Plugin | 20.2 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
We can opt-in for your application to let HTMLviewer use proper resolution handling for web content.
You may just call this in your app.open event.
IEWebBrowserMBS.SetInternetExplorerVersion(version as Integer) as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | HTMLViewer Win | MBS Win Plugin | 20.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
By default Xojo uses IE7 for the HTMLViewer, even if you have version 11 enabled.
Value | Description |
11001 | Internet Explorer 11. Webpages are displayed in IE11 edge mode, regardless of the declared !DOCTYPE directive. Failing to declare a !DOCTYPE directive causes the page to load in Quirks. |
11000 | IE11. Webpages containing standards-based !DOCTYPE directives are displayed in IE11 edge mode. Default value for IE11. |
10001 | Internet Explorer 10. Webpages are displayed in IE10 Standards mode, regardless of the !DOCTYPE directive. |
10000 | Internet Explorer 10. Webpages containing standards-based !DOCTYPE directives are displayed in IE10 Standards mode. Default value for Internet Explorer 10. |
9999 | Windows Internet Explorer 9. Webpages are displayed in IE9 Standards mode, regardless of the declared !DOCTYPE directive. Failing to declare a !DOCTYPE directive causes the page to load in Quirks. |
9000 | Internet Explorer 9. Webpages containing standards-based !DOCTYPE directives are displayed in IE9 mode. Default value for Internet Explorer 9. In Internet Explorer 10, Webpages containing standards-based !DOCTYPE directives are displayed in IE10 Standards mode. |
8888 | Webpages are displayed in IE8 Standards mode, regardless of the declared !DOCTYPE directive. Failing to declare a !DOCTYPE directive causes the page to load in Quirks. |
8000 | Webpages containing standards-based !DOCTYPE directives are displayed in IE8 mode. Default value for Internet Explorer 8. In Internet Explorer 10, Webpages containing standards-based !DOCTYPE directives are displayed in IE10 Standards mode. |
7000 | Webpages containing standards-based !DOCTYPE directives are displayed in IE7 Standards mode. Default value for applications hosting the WebBrowser Control. |
In a test on Windows 10, we get by default this browser version:
Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.2; Win64; x64; Trident/7.0; .NET4.0C; .NET4.0E; Tablet PC 2.0; .NET CLR 2.0.50727; .NET CLR 3.0.30729; .NET CLR 3.5.30729)
and with setting it to 11000, we get this:
Mozilla/5.0 (Windows NT 6.2; Win64; x64; Trident/7.0; rv:11.0) like Gecko
Some examples using this method:
The items on this page are in the following plugins: MBS Win Plugin.