Sign in to follow this  
Followers 0
Damastah

Limit a GUICreateInput's Char size

4 posts in this topic

Is it possible to limit the amount of characters a user inputs into a GUICreateInput field? How?

How can I also make the cursor move to the next box after the current field is filled?

Share this post


Link to post
Share on other sites



GUICtrlSetLimit()

:)

Share this post


Link to post
Share on other sites

Thanks alot man :)

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

I personally do not like it when characters exceeded the input box that part of it scrolls to the left, out of sight.

By adding the $ES_LEFT style, it limits the characters based on the lwidth of my input box, preventing the text from scrolling to the left. The users are only allowed to type characters that fits in the box. In my case, a width of 50 limits the characters to 7 and at 60, it limits it at 9.

Edited by aslani

[font="Georgia"]Chances are, I'm wrong.[/font]HotKey trouble?Stringregexp GuideAutoIT Current Version

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