Problem with scrolling

johmolan

Well-known member
Joined
Oct 11, 2008
Messages
129
Programming Experience
Beginner
I use the binding navigator in my application, but when the resolution of the display gets to small and I have to use the scrollbars, then I get a problem. The scrollbars automatically scrolls down below the navigator bar instead of showing it when the window loads.


I figured it out using focus or select. it now loads on top,
but then I got a second problem.

When I press on my tab-control it "autoscrolls" down again and puts the tab-control as the first visible thing on the screen instead of the navigation bar.
How can I prevent that?
 
Set the AutoScroll property of the form to False. Add the BindingNavigator and a Panel to the form and set the Panel's Dock property to Fill. Set the Panel's AutoScroll property to True and add all your other controls to it. The BN will now remain visible at the top of the form no matter what and only the Panel contents will scroll.
 
Back
Top