Is there a web browser component for use in FireMonkey application?

岁酱吖の 提交于 2019-11-29 18:28:42

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!