How to automatically play a Slider- bar when push button presses in GUI?
4 views (last 30 days)
Austin Decker on 26 May 2022
You could use a timer to do this. Basically, when you push the button, you can start a timer with whatever period you want who's timer function increments the slider. When you push the button again, you can stop and delete the timer. Be sure to delete the timer either when you are done using it or when the app closes as this can cause issues. Check the documentation for timer calling syntax.