Pasukun Posted May 9, 2005 Posted May 9, 2005 (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 May 9, 2005 by Pasukun
GaryFrost Posted May 9, 2005 Posted May 9, 2005 GUICtrlSetLimit($Edit_M12 ,2) SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference.
Pasukun Posted May 9, 2005 Author Posted May 9, 2005 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!
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now