notta Posted October 12, 2007 Posted October 12, 2007 Is there a style control to limit the amount of numbers someone can input into an inputbox? I have the $ES_NUMBER style for just making sure they only input numbers, but what about the amount of numbers? I have 2 phone fields and right now I can only limit the amount by adjusting the size of the inputbox, but the problem with that is the boxes are really small. GUICtrlCreateLabel ("Phone", 10, 93) $tempphonethree = GuiCtrlCreateInput("", 65, 90, 25, 20,$ES_NUMBER) GUICtrlCreateLabel ("-", 95, 93) $tempphonefour = GuiCtrlCreateInput("", 103, 90, 30, 20,$ES_NUMBER) Thanks
corz Posted October 12, 2007 Posted October 12, 2007 GUICtrlSetLimit () ;o) (or nothing is foolproof to the sufficiently talented fool..
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