Here is what I want:
- simple trackbar
- numeric box that shows the value of the trackbar
- changes in the trackbar show in the numeric box
- changes in the box are reflected in the trackbar
Implementation:
- I have implemented this as a trackbar with a numeric scroll box below
- I used the ValueChanged event for the trackbar to update the value of the numeric box
- I used the ValueChanged event for the numeric box to update the value of the trackbar
Issue:
This causes an infinite loop where the 2 controls continuosly keep updating each other. I just want this to happen 1 time each way.
I am sure that someone has run into this before. Is there a way to temporarily disable events? Am I using the wrong controls? Is there a different way to approach this?
- simple trackbar
- numeric box that shows the value of the trackbar
- changes in the trackbar show in the numeric box
- changes in the box are reflected in the trackbar
Implementation:
- I have implemented this as a trackbar with a numeric scroll box below
- I used the ValueChanged event for the trackbar to update the value of the numeric box
- I used the ValueChanged event for the numeric box to update the value of the trackbar
Issue:
This causes an infinite loop where the 2 controls continuosly keep updating each other. I just want this to happen 1 time each way.
I am sure that someone has run into this before. Is there a way to temporarily disable events? Am I using the wrong controls? Is there a different way to approach this?