Jump to content
Sign in to follow this  
Justforfun

GUICtrlSetLimit Help Please

Recommended Posts

Justforfun

ok I have made a GUI with 3 sliders the first 2 control how fast and the size of a bouncing ball on my screen the third sets the seconds I want to set it a 90000 for 90 seconds but the slider stay at 0 when I do this is how I have it

$Slider3 = GUICtrlCreateSlider(24, 196, 118, 20, BitOR($TBS_TOOLTIPS, $TBS_AUTOTICKS))
GUICtrlSetLimit($Slider3, 90000, 0)
Any Idea I started having problems with it stay at 0 when I got somewhere around 40000 not sure exactly the vaule but some where around there I know for sure anything under 30000 for 30 seconds works Help Please.

Share this post


Link to post
Share on other sites
scriptomator

it is exceeding some sort of limit. try setting it to this,this works for me

GUICtrlSetLimit($Slider3, 9000, 0)

if you NEED it to be 90000 for some super accuracy i don't think it will happen.

there might be a work around, but i don't know.

Edited by scriptomator

Share this post


Link to post
Share on other sites
Justforfun

it is exceeding some sort of limit. try setting it to this,this works for me

GUICtrlSetLimit($Slider3, 9000, 0)

if you NEED it to be 90000 for some super accuracy i don't think it will happen.

there might be a work around, but i don't know.

I know that there is a limit I just need to know how to change it to like 100000 so I can set my slider to 90000

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×