Page 1 of 1

TChromium Browser Reload/Refresh/Repaint

Posted: Mon Mar 19, 2018 4:36 pm
by Christoph
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!

Re: TChromium Browser Reload/Refresh/Repaint

Posted: Tue Mar 20, 2018 7:39 am
by salvadordf
Thanks for the bug report!

I'll take a look as soon as I can but right now I'm very busy. :(

Re: TChromium Browser Reload/Refresh/Repaint

Posted: Fri Apr 06, 2018 7:28 am
by Christoph
@apzloy: thank you very much, the DoubledBuffered property solved the problem (CEFWindowParent1.DoubleBuffered := False; in FormCreate). :D