TChromium Browser Reload/Refresh/Repaint
Posted: Mon Mar 19, 2018 4:36 pm
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!
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!