When we click with the mouse on the thumb
of a control Slider
in order to modify its value, the events that are generated are the following:
OnMousePressed
when we click the mouse
OnMouseDragged
in case we slide your thumb
OnMouseReleased
when we stop pressing the mouse
OnMouseClicked
just after the previous event
If you want to execute a code just at the moment of releasing the mouse you need to capture the OnMouseReleased
event. This is where you have to place any code that updates or modifies other Slider
to avoid a continuous readjustment of these (and possibly an annoying blink) before reaching the desired value.