Karim,
I have a WebBrowserObject in a Frame and I need to be able to control from
VBA the position of the scrollbars so the WebBrowser shows what I want. The
scrollbars in the Frame do not appear to be controllable from a
VB
application unlike scroll bars you can add to an object. If I try to add my
own scrollbars to the frame it has no affect on the WebBrowser. Hope that
makes sense.
Gary
" wrote:
Hi Gary,
I am not sure I got your point, but you can use the ScrollTop
(Vertical) and ScrollWidth (Horizontal) property to position them. Of
course, you should know the values (in design mode) to do so and also
you should set the Setfocus method to the adjacent object (textbox,
command button, checkbox, etc).
myFrame.ScrollTop = 1176
myFrame.ScrollWidth = 600
myTextBox.SetFocus
I hope this helps.
Karim