Add Scroll bars to a VB form

How can I add scroll bars to a VB form?
It's there a built in function/control?

p1jar3
p1jar3Asked:
Who is Participating?
 
TimCotteeCommented:
Scrollable forms are generally a bad idea from a user standpoint, however if you are intent on adding one, the way to do it is: to add teh vscroll bar control to your form. Using the vscroll_change event, reposition your controls on the form using something like

For each control in me.controls
  control.top = <initial position> - vscroll1.value * <movement>
next

0
 
p1jar3Author Commented:
Waty answer is exactly what I am looking for.  I partially agree with Tim Cottee about scroll bars in a form, but for my project they are necessary.
Thanks Waty!

0
All Courses

From novice to tech pro — start learning today.