This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Inverted slider
#1
Hi,


Is it possible to have inverted horizontal slider as an option just like the vertical?
Thank you in advance
Reply
#2
Hi
What is the reason behind this?
BR
------------------------------
Ctrl+F5
Reply
#3
I have a curtain that opens on the right side, the slider is bounded to curtain position and i need it to respond as the curtain drive. + or right arrow should lower the value.
Reply
#4
For now use another object to convert it like this


Code:
grp.write('1/1/1', 100 + event.getvalue()*(-100)/100)

Change 100 to 255 if you use unsigned object not scale.
------------------------------
Ctrl+F5
Reply
#5
I didn't want to go that way, i prefer to invert the actuator drive if there is no other clean option.
Reply


Forum Jump: