VB Code:
  1. Private Sub VScroll1_Change()
  2.     VScroll1.Max = scrollMax
  3.     If VScroll1.Value = 0 Then
  4.         picPV.Top = 600 'PicScale.Top
  5.     Else
  6.         picPV.Top = ((VScroll1.Value) / 20) * -ScaleHeight
  7.     End If
  8. End Sub

i want to set the vscrollbar in the picturebox.
however, it seems ot sth wrong in the code.
the whole picturebox move up when i pulled down the scrollbar..
is the setting correct?