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.
how to replace the page
Re: how to replace the page
To handle the error in Chromium1LoadError not an option?
- salvadordf
- Posts: 4564
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: how to replace the page
Hi,
Load a custom URL in the TChromium.OnLoadError event. That URL can be :
Load a custom URL in the TChromium.OnLoadError event. That URL can be :
- A FILE URL to open a simple local HTML file. See the MiniBrowser demo to know how to use FILE URLs.
- A URL with a custom scheme to show custom HTML. See the SchemeRegistrationBrowser demo to know how to register schemes.
- salvadordf
- Posts: 4564
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: how to replace the page
As far as I know, that's not possible to do with CEF. You would have to modify Chromium's code.