delphi - check if webbrowser is blank -


How do I check if the web browser is empty?

For example, when you start your app, and you have a webbrown that has not been navigated to anything its only empty

If you did not load anything in the twibbrowser, then this is empty. You have written the code so you already know that you have loaded something, because you said navigating. And there is a whole event that you can use, and hook up to that event which sets the "something" flag to the right when you navigate, you can set a navigational in-progress flag, whose Meaning, soon, something will be loaded.

Update: Both Damon_X and Remy agree that the finished set is the best solution, they have not posted it as a reply, so I am updating it. The unused state is probably the best.

Comments