Moving a scroll bar with VBA

G

Guest

Hello,

I'm using Access 2003. I have a form with a tab control and a horizontal
scroll bar. One of the tabs is very wide, and scrolling far to the right is
necessary to see all of the data. I don't mind this, but when I click on
this particular tab, the scroll bar automatically shoots way out to the
right, and it's not very user-friendly.

Is there a way to force the horizontal scroll bar all the way to the left
when this tab is clicked?

Thanks,

Scott
 
G

Guest

I don't know if it is possible to set the scrollbar to a specific position. I
know you can set the visible or not. But could it be that a certain field is
getting focus when you click on the tab? Maybe if the first field of that tab
gets the focus the scrollbar doesn't move to the right anymore.
 
G

Guest

Maurice,

That helped, thanks. It was focusing on a field in the middle of the tab.
It would be better if it could scroll all the way to the left, as some lables
are still not in the visible window, but setting focus to the left-most field
is much better.

Thank you.

-Scott
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top