PDA

Click to See Complete Forum and Search --> : Scrolling WebBrowser Control ??


Masm8086
Nov 5th, 2000, 07:18 PM
Hi, I have been writing up a chat application that allows users to input HTML while chatting. I used the webbrowser control and everything works fine, except that i am not able to scroll the window down to the last item that was entered, the users must do this manualy. This is very anoying. Can someone tell me how i can scroll the webbrowser control to the bottom of the window ?

asabi
Nov 7th, 2000, 06:00 PM
sorry, didn't get it, if the page is bigger then the webbrowser control, there should be scrolls ..

if that's not the case, try using an MDI form, and make the form that has the webbrowser control as a child in it.

Masm8086
Nov 7th, 2000, 07:47 PM
yes, there are scrollbars. but i need to be able to scroll the page down to the last line of text by using code, so the user doesn't have to do this manually.

asabi
Nov 7th, 2000, 07:51 PM
Add HTML anchors, and in the redirect, insert the anchore.

Masm8086
Nov 7th, 2000, 07:56 PM
Thanks, i'll try that.