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

Same here, would like to know this as well