0
Answer

How to detect the difference between the trackbar old and new

Dave Chika

Dave Chika

14y
2.5k
1

Please how can i detect the difference between the trackbar old and new positions, i.e if I slide the track bar from 0 to say 180,the output textbox above should indicate 1 but when slide it backwards to say 45, the output textbox should indicate 2,but when the value remains the same the output textbox should indicate 0

The idea is to be able to know when the trackbar is making a downwards/negative or upwards/positive movements

 

 

.