Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
If you find these projects useful please consider becoming a sponsor with Patreon, GitHub or Liberapay.

Firemonkey support added to CEF4Delphi

Post Reply
User avatar
salvadordf
Posts: 4564
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Firemonkey support added to CEF4Delphi

Post 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
yiqianyishi
Posts: 18
Joined: Sun Jan 07, 2018 1:08 am

Re: Firemonkey support added to CEF4Delphi

Post by yiqianyishi »

Very Good and very powerful! :D :D
User avatar
salvadordf
Posts: 4564
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Firemonkey support added to CEF4Delphi

Post by salvadordf »

Some computers show a deformed image when you resize the browser. :oops:
I'll fix it as soon as possible.
User avatar
salvadordf
Posts: 4564
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Firemonkey support added to CEF4Delphi

Post by salvadordf »

I just uploaded the fixed version of the FMXExternalPumpBrowser demo. Now it resizes correctly. :D
Post Reply