I am using WebBrowser when the page is left without internet happening this message, would have how to avoid this message. Anybody know?
I am using WebBrowser when the page is left without internet happening this message, would have how to avoid this message. Anybody know?
Haven't tried by myself, but later I'll need it too:
ReplyDeletehttps://stackoverflow.com/questions/13950676/how-to-check-url-with-idhttp
and
https://stackoverflow.com/questions/28294284/delphi-twebbrowser-response-code
I usually use the OnDidFailLoad event of the WebBrowser. Inside that event handler, first I hide the WebBrowser component and then I alert the user of internet issues somewhere (in a label or using ShowMessage for example)
ReplyDelete