Hi guys,
I have a webbrowser control in my windows form and when I append a large text into it, the vertical scroller, goes down and then up to about halfway the scrolling area
here is the code that appends it
Public Function AddToHTML(ByVal Browser As WebBrowser, ByVal HTMLMsg As String) As Boolean
With Browser.Document.Body
.InnerHtml = String.Concat(.InnerHtml, "<small>", HTMLMsg, "</small><br>")
.ScrollTop = CInt(.InnerHtml.Length() * 1000)
.ScrollIntoView(False)
End With
so why does it not show the last added message?