Click here to Skip to main content
15,867,986 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
SQL
Hi,
I have a form that has a panel on it.  The no. of controls increase vertically and become inaccessible.  I want to put vertical scroll bar on the form.  I have added the scroll bars but do not know how it will work?
Please help.

Thanks
Posted
Comments
Clifford Nelson 8-Mar-12 12:21pm    
I assume that this is a WinForm application

1 solution

If you have added the controls into a panel, you shouldn't need to add your own scroll bars. Simply set AutoScroll = True on the panel to get the scrolling working.
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 8-Mar-12 14:46pm    
Correct, a 5.
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900