B
Boni
Dear all,
I have strange problem. I need a scroll bar Value difference
(NewVal -OldVal).
But e.NewValue is the same a scrollbar.value. Do I have to save old value
and build difference myself or do I just misuse the event?
Thank you in advance,
Boni
' Create the Scroll event handler.
Private Sub vScrollBar1_Scroll(sender As Object, e As ScrollEventArgs)
' Display the new value in the label.
label1.Text = "VScrollBar Value
OnScroll Event) " & _
e.NewValue.ToString()
End Sub
I have strange problem. I need a scroll bar Value difference
(NewVal -OldVal).
But e.NewValue is the same a scrollbar.value. Do I have to save old value
and build difference myself or do I just misuse the event?
Thank you in advance,
Boni
' Create the Scroll event handler.
Private Sub vScrollBar1_Scroll(sender As Object, e As ScrollEventArgs)
' Display the new value in the label.
label1.Text = "VScrollBar Value
![Frown :( :(](/styles/default/custom/smilies/frown.gif)
e.NewValue.ToString()
End Sub