简体   繁体   中英

Delphi: How to check if webbrowser has successfully loaded the page?

I have a simple code:

WebBrowser1.Navigate('www.foo.com');

But of course sometimes the browsing fails and the browser displays the error message.
How can I catch when this happens?
I want this so that I can make a some sort of a custom log.

我假设有问题时将调用OnNavigateError事件处理程序。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM