Slider control and Mouse Wheel

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Try this one boys and girls:

Stick a slider from Common controls 6.0 on a form, set the min,max
to -100,100 or similar add a label and put something like this into the
slider.scroll event:
Label1 = Slider1.Value
When you use the mouse wheel to alter the slider the label changes to echo
the value, except at zero when the scroll event seems not to fire.

Anyone got a kludge or work-round to avoid this little "feature".

Regards
Dave O.


.



Relevant Pages

  • Re: Slider Bar for Survey
    ... there are third party controls for this e.g. Microsoft Slider ... Control that you may have installed on your system. ... Place a label over the line (background ... Private Sub lblBackground_MouseDown(Button As Integer, Shift As Integer, X ...
    (microsoft.public.access.forms)
  • Re: Mathematica: How to force manipulate to accept only discrete values from user?
    ... I am trying to write a manipulate which will accept only integer values. ... Now, if I move the slider above, the value do change in discrete amount by ... but this option will prevent the label from showing on the right side ... will also automatically change the contents of the input field. ...
    (sci.math.symbolic)
  • Re: Slider Bar for Survey
    ... I was able to replicate this slider control and it works well. ... > Place a label over the line (background ... > Private Sub lblBackground_MouseDown(Button As Integer, Shift As Integer, X ...
    (microsoft.public.access.forms)
  • Re: Justifying box components
    ... constructor. ... The problem is that the text and the slider has a bad ... but it still might not suit, as the label will appear a bit left of the start of the slider track ... If I need to justify a large number of components, ...
    (comp.lang.java.gui)
  • Problem with Thread.Abort()
    ... i coded an application in which i can move a slider to define a radius and it computes a gaussian blur in a thread. ... because the Scroll event of the slider is often raised, i use one thread that i abort when it is already existing and running. ...
    (microsoft.public.dotnet.languages.csharp)