aziz rasul
Active member
- Local time
- Today, 04:34
- Joined
- Jun 26, 2000
- Messages
- 1,935
I have 2 sliders on a form. When I move the slider thumb, I want the value of ActiveXSliderCtl1 to transfer its value on labels.
For example, if ActiveXSliderCtl1.Value = 10 then I want
lblGreen.Caption = "10"
lblYellow.Caption = "> 10"
lblRed.Caption = "> 10"
Similarly when ActiveXSliderCtl2.Value = 25 say
lblGreen.Caption = "10"
lblYellow.Caption = "> 10 - 25"
lblRed.Caption = "> 25"
This all works. However the problem I'm having is that only when I move the focus AWAY from each slider control do the labels value update. Is it possible for the values to change AS I alter the thumbs of the slider controls.
Please see attachment.
For example, if ActiveXSliderCtl1.Value = 10 then I want
lblGreen.Caption = "10"
lblYellow.Caption = "> 10"
lblRed.Caption = "> 10"
Similarly when ActiveXSliderCtl2.Value = 25 say
lblGreen.Caption = "10"
lblYellow.Caption = "> 10 - 25"
lblRed.Caption = "> 25"
This all works. However the problem I'm having is that only when I move the focus AWAY from each slider control do the labels value update. Is it possible for the values to change AS I alter the thumbs of the slider controls.
Please see attachment.