The TWebBrowser
component has an error as described here [IE9] 'Floating point division by zero' occurs with WebBrowser. 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.
So far, the best idea I had was to disable TWebBrowser
scroll bars and try to simulate the same functionality using a TScrollBar
. So far, it is working but that is the question:
How can I synchronize the navigation in the TWebBrowser
with TScrollBar
? I need to intercept scroll messages of TWebBrowser
and send them to TScrollBar
in order to keep the bar synchronized with the document that is being show. Does anyone knows how to do that?
To be more clear: I need an way of telling TScrollBar
what is its position relative to the position of the cursor in the TWebBrowser
.
I am using Delphi 2010.