Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
VScrollBar1.Maximum = (Panel1.Height - Me.Height) + 500
VScrollBar1.SmallChange = 50
VScrollBar1.LargeChange = 100
Private Sub VScroll1_Change()
Panel1.Top = 0 - VScrollBar1.Value
I tried this code, but doesn't seem to work, any help to get here ?
What i want is to scroll through my Form, maybe a Panel isn't the right way to do it, or maybe i'm using a Wrong Code ?
Visual Studio 2010
Edited 24-Sep-12 2:40am
Okay so i t couldn't be any more easy than this.
I just set AutoScroll to True @ the form and it works like a charm now.
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)