Hello,
we use TChromium (DCEF4) with CEFWindowParent1 in a Delphi application.
So far, so good, but:
1) the form of TChromium + CEFWindowParent1 is a MDIChild
2) opening the form and loading an URL is fine
3) set focus to another MDIChild of the application
4) go back to the form of TChromium + CEFWindowParent1 is a MDIChild
5) the form of TChromium + CEFWindowParent1 is black
we can overcome the problem of the black form by using
TChromium1.Browser.Reload;
in the OnActivate event of the form, but if a user made some inputs in the page loaded in step 2,
the input(s) are gone after the TChromium1.Browser.Reload
We did try
CEFWindowParent1.UpdateSize;
without success...
Any idea to overcome this problem?
Thanks in advance!
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.
TChromium Browser Reload/Refresh/Repaint
- salvadordf
- Posts: 4564
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: TChromium Browser Reload/Refresh/Repaint
Thanks for the bug report!
I'll take a look as soon as I can but right now I'm very busy.
I'll take a look as soon as I can but right now I'm very busy.

Re: TChromium Browser Reload/Refresh/Repaint
@apzloy: thank you very much, the DoubledBuffered property solved the problem (CEFWindowParent1.DoubleBuffered := False; in FormCreate). 
