问题
For Delphi VCL there is TWebBrowser and some 3rd party components like TEmbeddedWebBrowser available for browsing a web.
Is there a similar web browser component but for Firemonkey framework in Delphi XE2 (ideally with Windows and Mac support) ?
回答1:
You can use the ChromiumEmbedded package for Delphi. There's a TChromiumFMX component which is suited for FireMonkey applications. I've tested the demo project from the repository and it works fine for 32-bit Windows.
However I can't tell you if nor how to build and use it in Mac OS. The only thing I can tell you is that the ChromiumEmbedded for Delphi is distributed only with Windows binaries, the binaries for Mac OS you can download from here.
回答2:
As far as I know (!), the situation is as follows:
- CromiumEmbedded supports OSX (& Windows of course)
- There is a Delphi ChromiumEmbedded
- Delphi supports OSX through the FireMonkey framework
- There is even a FireMonkey version of the Delphi ChromiumEmbedded
- The Delphi/FireMonkey ChromiumEmbedded does not support OSX
If somebody knows better, that would be fantastic.
来源:https://stackoverflow.com/questions/9327111/is-there-a-web-browser-component-for-use-in-firemonkey-application