Inverted slider - Printable Version +- Logic Machine Forum (https://forum.logicmachine.net) +-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1) +--- Forum: Visualization (https://forum.logicmachine.net/forumdisplay.php?fid=9) +--- Thread: Inverted slider (/showthread.php?tid=1563) |
Inverted slider - gtsamis - 29.08.2018 Hi, Is it possible to have inverted horizontal slider as an option just like the vertical? Thank you in advance RE: Inverted slider - Daniel - 30.08.2018 Hi What is the reason behind this? BR RE: Inverted slider - gtsamis - 30.08.2018 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. RE: Inverted slider - Daniel - 30.08.2018 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. RE: Inverted slider - gtsamis - 30.08.2018 I didn't want to go that way, i prefer to invert the actuator drive if there is no other clean option. |