Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / July 2006

Tip: Looking for answers? Try searching our database.

Scroll bars and docking

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
illegal.prime@gmail.com - 17 Jul 2006 21:58 GMT
Hi all, I've managed to simplify my problem down to its bare roots.  I
have a Form that contains three panels.  All three panels have their
docking set to Top.  Inside these panels I have a single UserControl.
The UserControl's right side exceeds the width of the Form, but the
bottom scroll bar does not appear.

However, I can increase the size of the Form and I can see the
remainder of the UserControl.  Is there some way to keep these panels
docked to Top and still get the scroll bar to appear when necessary on
the bottom?

Thanks,
Novice
illegal.prime@gmail.com - 17 Jul 2006 22:15 GMT
It looks like I can force the horizontal scroll bar to appear if I use
AutoScrollMinSize - but this seems a little hacky to me since this
means I have to iterate over all the controls, find the maximum width
of any control and then set my AutoScrollMinSize to that number.  Is
this really the "right way" to do this?

Thanks,
Novice

> Hi all, I've managed to simplify my problem down to its bare roots.  I
> have a Form that contains three panels.  All three panels have their
[quoted text clipped - 9 lines]
> Thanks,
> Novice

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.