title: TWebBrowser - Trying to fix the "Invalid floating point operation" error
body: <p>The <code>TWebBrowser</code> component has an error as described here <a href="http://qc.embarcadero.com/wc/qcmain.aspx?d=102469" rel="nofollow">[IE9] 'Floating point division by zero' occurs with WebBrowser</a>. The solution is to call a procedure that will disable all division by zero exceptions. I am trying to fix this problem without having to call this procedure.</p>
  
  <p>So far, the best idea I had was to disable <code>TWebBrowser</code> scroll bars and try to simulate the same functionality using a <code>TScrollBar</code>. So far, it is working but that is the question:</p>
  
  <p>How can I synchronize the navigation in the <code>TWebBrowser</code> with <code>TScrollBar</code>? I need to intercept scroll messages of <code>TWebBrowser</code> and send them to <code>TScrollBar</code> in order to keep the bar synchronized with the document that is being show. Does anyone knows how to do that? </p>
  
  <p>To be more clear: I need an way of telling <code>TScrollBar</code> what is its position relative to the position of the cursor in the <code>TWebBrowser</code>.</p>
  
  <p>I am using Delphi 2010.</p>