I am having a tough time in vb.net to make the scrollbars to work of the contents of a panel.... here is my code

Private Sub HScrollBar1_Scroll(ByVal sender As System.Object, ByVal e As System.Windows.Forms.ScrollEventArgs) Handles HScrollBar1.Scroll
Panel122.Left = HScrollBar1.Value

now, i want to change .Left to .Right, but it won't let me?
HELP!!!!!

The Left property is the horizontal position of the panel within it's parent container, there is no Right property.
If you need to move the panel from left to right, then you have to change the value of Left.

Panel122.Left = 0, means that the panel is at it's left-most position.
Panel122.Left = parent.Width, means that the panel is at it's right-most position.

Bigggg help =D thanks+D

You're welcome. :)
Please mark this thread as solved if your problem is fixed.