Sign in to follow this  
Followers 0
Pasukun

Character limit for input box

3 posts in this topic

#1 ·  Posted (edited)

I am trying to set a character limits for all my input boxes on the GUI.

For example, I want one of the input box to only store 2 digit numbers.

I know how to limit the box to only store numbers by using the style, but I couldn't find a way to limit the lengh of the character.

$Edit_M12 = GuiCtrlCreateInput("23", 321, 95, 50, 20, $ES_NUMBER)

Thanks in advance for your help. :(

Edited by Pasukun

Share this post


Link to post
Share on other sites



Ahh~ I didn't know there was another function that can control this.

Thought it was gonna be something that I had to add into the GuiCtrlCreateInput string.

Thanks bunch! :(

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