Jump to content
Sign in to follow this  

Updown control woes

Recommended Posts

I have a program I'm trying to automate. I have hit a problem with my updown control though.

When the form opens, the control has a default value of 6 and a range of 0-24. I can change it to (for example) 0 by doing this.

;Set Rate to 0
ControlFocus("London Control - Log On","","[CLASS:TEdit; INSTANCE:2]")
For $x = 1 To 6

I wonder if there's a more elegant way to write a value? GuiCtrlSetData doesn't work. If the worst comes to the worst I'll write a function that accepts my value to write and do what's in the code snippet above, first doing 24 {DOWN}s to zero it.

Can't help but think I'm missing something.



Share this post

Link to post
Share on other sites

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  

  • Create New...