|
-
Oct 7th, 2002, 04:53 AM
#1
Thread Starter
Hyperactive Member
Auto Scroll Web Control?
Thats basically it.. I want to be able to auto-scroll a web control just as you do with textboxes in chat programs for instance...
Like here hoow you would do what I want with a RTB:
VB Code:
RichTextBox1.SelStart = Len(RichTextBox1.Text)
so possible to do with the browser control?
thanks
sac
-
Oct 7th, 2002, 06:24 PM
#2
Thread Starter
Hyperactive Member
come on has to be some way to do this..
I tried using javascript to do it
function redirect(){
parent.location.href="#top"
}
but it is hard to work with when im constantly adding in new text to the document..
any suggestions??
-
Oct 7th, 2002, 06:31 PM
#3
You could use SendKeys to send the CTRL+END key combination, i.e.
VB Code:
Private Sub Command1_Click()
WebBrowser1.SetFocus
SendKeys "^{END}"
End Sub
-
Oct 8th, 2002, 02:58 PM
#4
Thread Starter
Hyperactive Member
Hey, I was able to use the HTML afterall, but I thank you for your code... it also works
-
Jul 11th, 2006, 04:03 AM
#5
New Member
Re: Auto Scroll Web Control?
Hi Sacofjoea,
It' long time for your topic, but could u tell me how to autoscroll with web browser control.
TKS
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|