Home All Groups Group Topic Archive Search About
Author
22 Jun 2006 3:58 PM
Pitaridis Aristotelis
I have to scroll the contents of a WebControl down to the bottom
programmatically. Does anyone know how to do it?



Aristotelis

Author
23 Jun 2006 6:53 AM
Leon Mayne
> I have to scroll the contents of a WebControl down to the bottom
> programmatically. Does anyone know how to do it?

What kind of HTML does the control generate? If it's an iframe holding a
separate page then you could add a bookmark at the bottom of the inner page
HTML and call it
Author
23 Jun 2006 8:17 AM
Pitaridis Aristotelis
The way I use the WebControl is like this.

WebBrowser1.DocumentText = "<B>Hello world!</B>"

I use the DocumentText property in order to set the HTML source code.



Show quoteHide quote
Ï "Leon Mayne" <LeonMa***@discussions.microsoft.com> Ýãñáøå óôï ìÞíõìá
news:3009D553-1C3B-4BC1-81DD-A63BB848910A@microsoft.com...
>
>> I have to scroll the contents of a WebControl down to the bottom
>> programmatically. Does anyone know how to do it?
>
> What kind of HTML does the control generate? If it's an iframe holding a
> separate page then you could add a bookmark at the bottom of the inner
> page
> HTML and call it
>
Author
23 Jun 2006 7:45 AM
Leon Mayne
> The way I use the WebControl is like this.
> WebBrowser1.DocumentText = "<B>Hello world!</B>"
> I use the DocumentText property in order to set the HTML source code.

OK, I see what you mean now.

Not sure then. Does the WebBrowser control have a ScrollToCaret() or
AppendText() method?
Author
23 Jun 2006 9:05 AM
Pitaridis Aristotelis
I did not find any of these two member functions. I have spent a lot of time
trying to find a way to scroll the information of a WebBrowser control but I
did not find anything.



I am sure that there is a way to do it but I can not find it.



I have done other more difficult things with this control



Aristotelis


Show quoteHide quote
Ï "Leon Mayne" <LeonMa***@discussions.microsoft.com> Ýãñáøå óôï ìÞíõìá
news:F4D012D2-6C79-4104-A11B-57235D19BFAE@microsoft.com...
>
>> The way I use the WebControl is like this.
>> WebBrowser1.DocumentText = "<B>Hello world!</B>"
>> I use the DocumentText property in order to set the HTML source code.
>
> OK, I see what you mean now.
>
> Not sure then. Does the WebBrowser control have a ScrollToCaret() or
> AppendText() method?