error page if URL could not be loaded
Posted: Fri Mar 06, 2020 9:47 am
I want to show an error page, if the url could not be loaded. By default the component shows an white page.
I have 2 cases:
I have 2 cases:
- The URL is valid, but can not be reached (e.g. server ist offline / error in spelling).
- In Chrome Browser, there is an error page shown.
- I solved this by using the TChromium.OnLoadError and call a TChromium.LoadString to show my own error page. This works.
- The URL is invalid (e.g. the user added an number too much to the port by mistake - so that the maximum is exceeded)
- In Chrome Browser, there is an redirect to the google search.
- I found no solution to get an event for this case. Does anyone know a possibility?