Page 1 of 1

Firemonkey support added to CEF4Delphi

Posted: Thu Jan 25, 2018 8:54 pm
by salvadordf
Hi,

I just uploaded the new version of CEF4Delphi with FireMonkey support! :D

This is what's new :
  • New Delphi package called CEF4Delphi_FMX.dpk that includes VCL and FMX components. The old CEF4Delphi.dpk is still there with VCL components only. Warning : Don't install both packages. If you don't need FireMonkey or your version of Delphi doesn't support it, use CEF4Delphi.dpk. If you want FMX AND VCL, then use CEF4Delphi_FMX.dpk.
  • New FMX components : TFMXChromium, TFMXBufferPanel and TFMXWorkScheduler.
  • New FMX demo : FMXExternalPumpBrowser.
  • Improved WorkScheduler for VCL too. The timer was replaced by a TEvent in a thread.
  • New GlobalCEFApp.DisableWebSecurity property.
This is my first FireMonkey component and I'm 100% sure it's not compatible with all the different implementations of FireMonkey in Delphi. I added all the conditional compilation directives from DCEF3 and a few more but I used some features that weren't available in the first FireMonkey implementations.

As I said numerous times, I can only test this in Delphi 10.2 Starter. This means that CEF4Delphi only supports Windows and I can't add support for other operating systems.

If anyone has more experience in FireMonkey and knows how to improve the components or how to support other platforms, please send your code! :D

Re: Firemonkey support added to CEF4Delphi

Posted: Fri Jan 26, 2018 7:21 am
by yiqianyishi
Very Good and very powerful! :D :D

Re: Firemonkey support added to CEF4Delphi

Posted: Fri Jan 26, 2018 8:19 am
by salvadordf
Some computers show a deformed image when you resize the browser. :oops:
I'll fix it as soon as possible.

Re: Firemonkey support added to CEF4Delphi

Posted: Sat Jan 27, 2018 9:42 am
by salvadordf
I just uploaded the fixed version of the FMXExternalPumpBrowser demo. Now it resizes correctly. :D