View Single Post
Old 11-14-2018, 06:56 AM   #354
Lokasenna
Human being with feelings
 
Lokasenna's Avatar
 
Join Date: Sep 2008
Location: The vast, frozen wasteland of western Canadia.
Posts: 5,653
Default

Quote:
Originally Posted by dsyrock View Post
I found a solution. I can't just change the max value, instead, I have to recreate a new slider, with a new max value. It seems stupid, but worked.
That works too. In some cases it ends up being much easier.

Quote:
But I don't know why, after I recreating it, I had to declare the function
Code:
GUI.elms.myslider:onmousedown()
and
Code:
 GUI.elms.myslider:ondrag()
Cause the orginal ones didn't work after I recreated the slider
That's very strange, not sure why it would be happening - does your script have custom functions for those or anything?
Lokasenna is offline   Reply With Quote