HTMLViewer.Renderer

From Xojo Documentation
Jump to: navigation, search
Read-Only Property (As Integer )


IntegerValue = aHTMLViewer.Renderer

New in 2012r1

Used to specify the rendering engine used on Windows. Choices are Native (0) or WebKit (1). You can only set this property in the Inspector for the control.

Notes

The Native renderer is Internet Explorer.

Choosing WebKit includes the WebKit engine in your built application, increasing the size of your application by about 20MB.

If you need plugins when using WebKit, add them to the WebKitPlugins folder in the Libs folder for your application.

Setting this property at runtime has no effect.

When using Native, Windows uses an older version of the Internet Explorer rendering engine. You can switch to a more recent version specifically for your app with code like this:

Dim reg As New RegistryItem("HKEY_CURRENT_USER\SOFTWARE\Microsoft")
reg = reg.AddFolder("Internet Explorer")
reg = reg.AddFolder("Main")
reg = reg.AddFolder("FeatureControl")
reg = reg.AddFolder("FEATURE_BROWSER_EMULATION")
reg.Value(App.ExecutableFile.Name) = &h2710 ' Use IE 11 renderer
Personal tools
Namespaces

Variants
Actions
Main
Content
Starting Out
Dig Deeper
More Help
Toolbox
About