Click here to Skip to main content
15,891,657 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
Hello guys,

I need your help, I need a Vertical Scroll Bar to add to my Windows Form Application, anyone help please?
Posted
Comments
Sergey Alexandrovich Kryukov 16-Nov-15 15:08pm    
What what's your problem?
—SA

1 solution

It's not clear what the problems is. You can always any available control, including ScrollBar: https://msdn.microsoft.com/en-us/library/system.windows.forms.scrollbar%28v=vs.110%29.aspx[^].

However, it's much more likely that you need a scroll bar already bound to some control behavior and shown automatically. For that purpose, you have to derive your scroll bar-enabled control, directly or indirectly, from the class System.Windows.Forms.ScrollableControl:
https://msdn.microsoft.com/en-us/library/system.windows.forms.scrollablecontrol%28v=vs.110%29.aspx[^].

In this case, the scrolling behavior is controlled mostly by the following properties:
https://msdn.microsoft.com/en-us/library/system.windows.forms.scrollablecontrol.autoscroll(v=vs.110).aspx[^],
https://msdn.microsoft.com/en-us/library/system.windows.forms.scrollablecontrol.autoscrollposition(v=vs.110).aspx[^],
https://msdn.microsoft.com/en-us/library/system.windows.forms.control.autoscrolloffset(v=vs.110).aspx[^],
https://msdn.microsoft.com/en-us/library/system.windows.forms.scrollablecontrol.autoscrollminsize(v=vs.110).aspx[^].

See also all other members named as …Scroll….

—SA
 
Share this answer
 
v2

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