K_man
asked on
Getting a slide control to update a text box as it is moved
I need to work out some way for a slider control to fire an event as it is moved, I can't seem to figure it out.
Basically what I need to happen is that when they move the slider up or down, it feeds the value into a function : changeToFeet(Metres) which then updates a text box with that value (metres being the value of the slider control), so that when the user flicks the slider about they can see the values in both metres and feet.
Any help would be appreciated
Basically what I need to happen is that when they move the slider up or down, it feeds the value into a function : changeToFeet(Metres) which then updates a text box with that value (metres being the value of the slider control), so that when the user flicks the slider about they can see the values in both metres and feet.
Any help would be appreciated
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Brilliant, thanks a lot for that
Solves some other problems I was having with other controls also
and so easy ! :P
Solves some other problems I was having with other controls also
and so easy ! :P
Yeah, once you go beyond the standard Toolbox controls, you move into the area of properties & methods only accessible this way. Glad I can help. -Jim
Private Sub SliderName_Change()
Me.TextBoxName = changeToFeet(Me.SliderName
End Sub