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 / January 2008

Tip: Looking for answers? Try searching our database.

Autoscroll madness

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Backwater Geezer - 24 Jan 2008 16:18 GMT
This is a problem from 23 Jan 2002

====================================================
Pierre Shirvan

I have a form with a Panel with the autoscroll property set to true and
a command button, on the form, that adds a usercontrol to the panel's
control collection when I click it. I add several controls to the panel
without touching the scrollbar with no problems. When I move the
scrollbar position say to the middle and then add one or more
usercontrols to the panel the top of the first control moves down and
it leaves a blank space at the top or above the top first control. Why?

To calculate the top location of the next usercontrol to be added I add
the heights of all the usercontrols in the panel's collection and
arrive the new top location. It works fine if the scrollbar is
positioned at the top before adding controls.

====================================================

Now, 5 years later, I have the same problem in VS2005.
Does Micros**t care at all?

MH
Backwater Geezer - 24 Jan 2008 16:40 GMT
OK, I managed to make my form working as intended but still shame on
you M$.

MH

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.