title: See when Delphi Twebbrowser starts loading a page
body: <p>I am using delphi's TWebbrowser to navigate to a php file I created.
  I have a loading screen I would like to show when the page is loading or processing commands.</p>
  
  <p>How can I detect when it is being refreshed or still loading.</p>
  
  <p>currently I am using the <code>ondocumentcomplete</code> to close the loading form and re-enable the main form once loading is done.</p>
  
  <p>I have tried the <code>onbeforenavigate2</code> to show the loading screen and disable the main form. But then after it has finished loading, and the document completes, the navigate2 process is run again. And the form again disabled.</p>
  
  <p>is there any way to detect when the browser is loading a page?</p>