Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I want to create a cursor with a variable.
The problem is, i dont know how i can have only 2 choices of values : 1 or 1000.
When i put an interval of 1000, i can choose every single value from 1 to 1000.
When i put an interval of 999, i can choose 1, 999 and 1000.
But if i put the min value to 0 with 1000 as interval, it works, i can only choose 0 or 1000. So i don't know how to get what i want...
Can someone help me please?
Thanks,
Regards,
Loïc
Why not use a couple of button acctions to control the variable rather than a slider?
Because this is funnier for the users
Fair enough.
Here's a solution.
vSlider = Set up the slider so the min is 0, the max is 1 and the step is 1
vSliderCals = vSlider * 999+1
Replace the slider min and max values (visible to user) with text boxes with your 1 & 1000 figures in......
They will never know 😉
qvw
Lol
Thanks for your idea, this is quite funny.
But I use the value of the variable in many expressions like: =sum(Quantity)/$(Var)
If the Value is 0 or 1, my expression will be false.
Not if you use vSliderCals instead of Val.
This variable will be either 1 or 1000 depending on the slider possition. See the qvw I uploaded for the example.
Rich