You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
There is an issue with using a mouse wheel and the scroll event. The mouse wheel changes do not raise the scroll event as in a standard track bar. They do work with the value changed event. However, the value changed event is not a good choice since any changes to the trackbar will result in an event.
For example, the slider positions in my application are established by polling a radio for the values of particular functions. For example, I may poll the radio for the audio gain level. I then set the position of the audio gain slider. This is fine if you use the scroll event. On the other hand, if you use value changed you end in a loop where the control is updated, then a value changed event is generated and back and forth.
Where do I need to change this in the slider source? I have been unable to locate where this should be done?
Thanks, Tom
The text was updated successfully, but these errors were encountered:
Hi,
There is an issue with using a mouse wheel and the scroll event. The mouse wheel changes do not raise the scroll event as in a standard track bar. They do work with the value changed event. However, the value changed event is not a good choice since any changes to the trackbar will result in an event.
For example, the slider positions in my application are established by polling a radio for the values of particular functions. For example, I may poll the radio for the audio gain level. I then set the position of the audio gain slider. This is fine if you use the scroll event. On the other hand, if you use value changed you end in a loop where the control is updated, then a value changed event is generated and back and forth.
Where do I need to change this in the slider source? I have been unable to locate where this should be done?
Thanks, Tom
The text was updated successfully, but these errors were encountered: