Hi All,

I wonder if anybody could help me figure out how to add working scrollbar to a Panel in VB.Net (Visual Studio 2010).

Here is what I do.

I have a Panel which resizes with the form (anchored to Left, Right, Top, Bottom). Inside the Panel I have a TableLayoutPanel. There are only 5 cells, each containing a PictureBox.

Most of the time the TableLayoutPanel is larger then the Panel, so I would like to add a vertical scrollbar to the Panel, so I could scroll up and down to see all the pictures. Sadly this does not work at all. Even if I add a scrollbar to the Panel using code it does not actually scroll.

Is there an easy way of doing this?

Attached is an example of what I'm trying to do.
Name:  Scrollbar_needed.PNG
Views: 10619
Size:  47.5 KB