|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi all i wonder how i can specify and predefine the location of scrollbar when using Form1.WebBrowser1.Navigate in vb6 form. I want for example when the form loads the scroll bar is at the location shown in pic . Thanks
Code:
Private Sub Form_Load() Form1.WebBrowser1.Navigate "http://www.cnn.com" Form1.Show End Sub ![]() |
|
#2
|
|||
|
|||
|
One way you may be able to add an anchor tag in the page and open the webbrowser control to that tag. That should position the scrollbar. Otherwise, I have no idea. If you actually can pre-position the scrollbar (which I doubt) you'll have to find the answer in the webbrowser control documentation.
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
|
#3
|
|||
|
|||
|
Quote:
If only remotly sites let me add things to their html!! which is not possible :-( |
|
#4
|
|||
|
|||
|
Well, somewhere buried in the msdn library is the entire documentation for the control. I think it's somewhere in the IE documentation. Maybe there is some property that will let you control the position of the scroller.
|
![]() |
| Viewing: ASP Free Forums > Programming > Visual Basic Programming > How to predefine location of scrollbar in Form1.WebBrowser1.Navigate? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|