title: How to force load a page in Twebbrowser control when this is not visible
body: <p>i need to execute some javascript functions from delphi code, but this functions fails if the page is not loaded in the Twebbrowser  control. so  the problem is if  page is located in a tabshet wich is not active the page is not loaded until the tabsheet is become active.</p>
  
  <p>the question is  How to force load a page in  a <code>Twebbrowser</code> control when this is not visible.</p>
  
  <p>to test this behaviour just put a pagecontrol, with 2 tabsheets , and a twebbrowser in the second tabsheet, now in the oncreate event of the form put this code </p>
  
  <pre><code>WebBrowser1.Navigate('http://stackoverflow.com');
  </code></pre>
  
  <p>now when you run the app the page only loads when you makes the second tabsheet visible.</p>
  
  <p>thanks in advance.</p>