how would you code this then:

when you drag the scroll bar, the value changes as you DRAG

thanks

you can code in both the events of the control change and scroll

Private sub from_load()
HScroll1. Min = 1
HScroll1. Max = 100
HScroll1. LargeChange = 10
end sub


Private Sub HScroll1_Change()
Label1.Caption = HScroll1.Value
End Sub

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.