There was an idea to write Desktop-applications from all sorts of different web-scripts, ala "currency exchange rates on the desktop" or "weather outside the window." But in my web applications I used a lot of CSS3, which is clearly not supported by IE. (I have installed IE ver.8).

So, I would like not to force the user to update a whole Web browser from Microsoft because of a small program with two digits, and on the developer’s side replace the engine in the TWebBrowser component so that it renders HTML like normal browsers. Those. so that the software does not depend on IE.

Is it possible? Or do I need to search and install an alternative for TWebBrowser?

  • Perhaps you need CEF - Chromium Embedded Framework. I don’t know if it replaces the TWebBrowser engine or if it needs its own component, but it seems like there is something for delphi too - Sergey
  • 2
    TWebBrowser is clearly sharpened for IE, and in the compatibility mode with some ancient version. Compatibility mode can be changed, but you can't leave IE to WB. Therefore TChromium, etc. will save the father of Russian democracy :) - kami

2 answers 2

As already mentioned earlier, TWebBrowser can be launched in compatibility mode of one of the versions of IE. Here you can see what keys in the registry you need to register to enable the corresponding mode.

  • one
    Wow, is it still necessary to pick the user’s registry? Sure realizable, but the crutch somehow turns out - I_CaR
  • Well, this is how they implemented the compatibility mode :) I ended up switching to CEF. There, the biggest problem was with playing flash, but she decided :) - Evgeny Alexandrov

On another engine, I'm afraid not, except for another version. And so you can download the library supplement with a new browser element on another engine.