I just started learning vb 2008 and i've been trying to get two HScrollBar moving together in sync.
So if i move the top HScroll bar the bottom will move aswell and i just can't seem to get it to work
any help would be great
So if i move the top HScroll bar the bottom will move aswell and i just can't seem to get it to work
any help would be great
Code:
Public Class Form1
Private Sub hsbPound_Scroll(ByVal sender As System.Object, ByVal e As System.Windows.Forms.ScrollEventArgs) Handles hsbPound.Scroll
txtPound.Text = hsbPound.Value
End Sub
Private Sub hsbDollar_Scroll(ByVal sender As System.Object, ByVal e As System.Windows.Forms.ScrollEventArgs) Handles hsbDollar.Scroll
hsbDollar.Value = hsbPound.Value + 1
txtDollar.Text = hsbDollar.Value
End Sub
End Class