How to dynamically change slider range and value range of a variable?

Bump
(+1)

(I also have the same issue)