Hello Dear Scripters,
I use a modded transform layer script. I prefer to change the values of X and Y values by scrolling mouse wheel while the pointer is on the value box. Now I want to modify the increment so as the mouse wheel change less value in the value box, say 0.05 per wheel tick instead of 0.25.
Which lines should I change in the script text?
Thanks in advance,
LG
Mouse Wheel Tolerance
Moderators: Víctor Paredes, Belgarath, slowtiger
- synthsin75
- Posts: 10027
- Joined: Mon Jan 14, 2008 11:20 pm
- Location: Oklahoma
- Contact:
Re: Mouse Wheel Tolerance
LM_TextControl:SetWheelInc(f)
https://mohoscripting.com/methods/320
You might need to add this to the existing text control box, as it might just be using the default. If it already exists, just change the argument value.
https://mohoscripting.com/methods/320
You might need to add this to the existing text control box, as it might just be using the default. If it already exists, just change the argument value.
- Wes
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
Re: Mouse Wheel Tolerance
Thanks a lot...