Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adjust Scroll bars through VBA code

Status
Not open for further replies.

tbiceps

IS-IT--Management
Nov 23, 2005
106
US
I have a two tab form in my database application. When the form opens, a user has to manually move both scroll buttons, the one on the bottom has to be pushed over to the left, and the one on the right side has to be pushed up to the top. Once these actions have been made, then the user can see both tabs. If not, the user may not see the second tab right away. How can I open the form and have the bottom scroll button positioned to the left, and the rightside scroll button positioned to the top, without user intervention. I currently use the DoCmd.Maximize to maximize the form, but my scroll bars are positioned incorrectly.
 
Which control has the focus when the form opens ?

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
How do you determine the form with the focus? I'm sorry, I'm not sure.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top