03-03-2015 03:46 AM
Hello
In my project i use slides. I want to show the user the middle section in green and the outer sections in red.
Something like that, but as a slide and with two red sections (left and right end) and no color in the middle:
Additionally the sections should be variable because the working area changes dynamicly. So i need to link it with a parameter.
Im thankful for every advice!
Matthäus
Solved! Go to Solution.
03-03-2015 10:30 AM
Add additional, hidden sliders at the color change locations, chage the fill option and move them programmatically according to the desired position. What have you tried so far?
03-03-2015 11:19 AM
When I first looked at this, I thought that there wasn't a built-in function of the slider controls to work like this. After altenbach's response, I took a second look and realized that each slider itself has a fill options property (rather than the control as a whole), so you can in fact set your lower limit slider to "Fill to Minimum", your upper limit slider to "Fill to Maximum", and your actual slider to "No Fill".
However, you then need to find a way to make the now-transparent sliders not movable by the user.
03-03-2015 01:19 PM - edited 03-03-2015 01:20 PM
you can also change the colors in advance custom controls, thus only 1 control
03-03-2015 01:33 PM
@VItan wrote:
However, you then need to find a way to make the now-transparent sliders not movable by the user.
I don't think the sliders can be disabled individually, but you could just filter them in an event structure and only accept the change of the middle slider.