Delphi: How to check if a web browser loaded successfully?

I have a simple code:

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

But of course, sometimes browsing is not performed, and the browser displays an error message.
How can I catch when this will happen?
I want me to be able to do some sort of custom log.

0
source share
1 answer

I assume that the OnNavigateError event handler is raised when there is a problem.

+3
source

All Articles