I've created a function
f and a slider:
How to execute/call
f each time the slider is dragged?
You can can test using for example
I advise you to look at the help of Dynamic that contains examples of other related features.
Another rout to take would be just using