Scroll bar problem

fixious123

Registered User.
Local time
Today, 22:47
Joined
Oct 3, 2002
Messages
49
Thank you for reading, hope ya can help me out. When I open my form up the scroll bar is always at the bottom and doesn't completely show the top of my form unless I manually scroll myself. How can I get the form to open up with the top showing or scroll bar in highest position. Thank you for your assistance.
 
I think I tried this method quite a while ago when I had a similar problem, but I can't remember for sure.

What I did, I think, is to put code in the "On Open" event of my form that would set focus on a control at the top of the form.

So, something like:

Private Sub Form_Open(Cancel As Integer)

Me.txtMyTextBox.SetFocus

End Sub
 
I was read a post a few days ago about this problem. Someone suggested to check the tab order. If the first field in the tab order is near the bottom, that would cause the form to open at the bottom and not the top.

Hope that helps.
 
Well, I think that will work. Something to do with my tabs but its set right and working now. Thanks for the inputs.
 

Users who are viewing this thread

Back
Top Bottom