Chromium Shim

KCML forms have long allowed the embedding of HTML controls using the Microsoft WebBrowser control. By default this behaves as Internet Explorer 7 and has increasingly poor compatibility with current web sites.

To alleviate this problem KClient allows the embedded IE control to be replaced with a control based on the Chromium Embedded Framework that supports current web standards.

Installing

Chromium is large and not included in the standard KClient install. Use the MSI installer. This does not require administrator rights.

Using

The simplest way to to try out the Chromium Shim is to run KClient with --chromium on the command line. This will replace all IE based HTML controls with ones using Chroimum.

Older KCML applications written before the HTML control was introduced directly embed the IE OCX control on a form. There is experimental support in KClient 7.23 to allow these to be replaced by HTML controls using the command line --ieocxhook. Thus by adding both --chromium and --ieoxchook IE OCX controls can be replced with Chromium. Note that only basic navigation methods & properties are supported. For example the direct DOM access provided by the IE OCX is not available.

To use in an application the $DECLAREs 'KCMLHookIEOCX and 'KCMLForceChromium can be used. Like the command line options these will force blanket adoption of Chromium for all HTML controls.

'KCMLGetChromiumVersion can be used to determine the version of Chromium used by the shim. 'KCMLGetChromiumShimVersion can be used to determine the version of the shim itself.