Sign in to follow this  
Followers 0
anystupidassname

updown

2 posts in this topic

Two questions:

1 - Does AutoIt GUI create funky UpDowns or am I screwing it up? I try to increase or decrease the number in the updown box with arrow keys and it just moves the cursor around. I also noticed by accident I can type letters and symbols in there?!?

2 - How exactly do I get the number from the updown to a variable? I have no problems with checkboxes and inputboxes etc... ?!? :whistle:

Any assistance much appreciated!


This signature is computer generated, nothing can go wron#nothing can go wron#nothing can go wron#nothing can go wron#nothing can go wron#nothing can go wron#nothing can go wron#nothing can go wron#nothing can go wron#nothing can go wron#nothing can go wron#.......

Share this post


Link to post
Share on other sites



The example included with GUICtrlCreateUpDown() successfully reads the value of the UpDown control into a MsgBox() when closing the GUI, so that should help you. Note that it reads the value of the Input field and not the UpDown itself.

The up/down keys fail to work for me also, but it's possible to use the $ES_NUMBER style to prevent non-numeric digits from being entered.

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  
Followers 0