G
Guest
I am curious as to why the scrollbar.scroll event gets called twice
Here is an example of my code
Private Sub vsbMoveCar_Scroll(ByVal sender As System.Object,
ByVal e As System.Windows.Forms.ScrollEventArgs) Handles vsbMoveCar.Scrol
'Position the up and down movemen
'Used when the scroll box is move
picCar.Top = vsbMoveCar.Valu
X +=
Label1.Text = CStr(X
End Su
When I click on the scrollbar X gets incremented twice. Why is this event being called twice? I would greatly appreciate some insight into this
I know that there is a keydown and keyup event, but I don't think this is what's doing it.
Here is an example of my code
Private Sub vsbMoveCar_Scroll(ByVal sender As System.Object,
ByVal e As System.Windows.Forms.ScrollEventArgs) Handles vsbMoveCar.Scrol
'Position the up and down movemen
'Used when the scroll box is move
picCar.Top = vsbMoveCar.Valu
X +=
Label1.Text = CStr(X
End Su
When I click on the scrollbar X gets incremented twice. Why is this event being called twice? I would greatly appreciate some insight into this
I know that there is a keydown and keyup event, but I don't think this is what's doing it.