Try this to minimize the blinking effect :
- Set TChromium.DefaultURL to your local file URL as soon as the browser is initialized. It must be set before the TChromium.CreateBrowser call.
- Don't call TChromium.LoadURL in the TChromium.AfterCreated event because setting TChromium.DefaultURL will load your homepage automatically.
- Use TChromium.Reload when you need to refresh the browser contents.
- If you still see a brief "blink" when you reload the page try this :
- Call TChromium.TakeSnapshot to save the browser contents in a bitmap.
- Draw that bitmap in a hidden TImage.
- Before reloading the web page, show the TImage and call TImage.BringToFront. Then hide the TCEFWindowParent and call TCEFWindowParent.SendToBack. TImage should have the same dimensions and coordinates as TCEFWindowParent.
- Use the TChromium.OnLoadingStateChange event and check the "isLoading" parameter to know when the web page is loaded. Send a message to the main form to show TCEFWindowParent and hide TImage when isLoading is FALSE.