How can I lock a width parameter until a determined dimension, but still allowing it to change until this dimension value?
Thanks!
Solved! Go to Solution.
How can I lock a width parameter until a determined dimension, but still allowing it to change until this dimension value?
Thanks!
Solved! Go to Solution.
Solved by ToanDN. Go to Solution.
Do you mean you want to limit the value of the parameter to a certain range?
Do you mean you want to limit the value of the parameter to a certain range?
yes!
I was trying to explain this in a simple way but I failed.
yes!
I was trying to explain this in a simple way but I failed.
Below is an example using a formula:
- Predefined min and max Value: min Width, max Width
- Control value: Width Control
- Return value: Width
if(Width Control < min Width, min Width, if(Width Control > max Width, max Width, Width Control))
Below is an example using a formula:
- Predefined min and max Value: min Width, max Width
- Control value: Width Control
- Return value: Width
if(Width Control < min Width, min Width, if(Width Control > max Width, max Width, Width Control))
Hello, what if you don't have a maximum value, only a minimum value?
Hello, what if you don't have a maximum value, only a minimum value?
You have probably worked this out already, but for future readers, if you have a minimum value that must be met, but no maximum, then adjust the formula that @ToanDN provided to read:
if(Width Control < min Width, min Width, Width Control)
You can also drop the max Width parameter.
You have probably worked this out already, but for future readers, if you have a minimum value that must be met, but no maximum, then adjust the formula that @ToanDN provided to read:
if(Width Control < min Width, min Width, Width Control)
You can also drop the max Width parameter.
Can't find what you're looking for? Ask the community or share your knowledge.