notta Posted October 12, 2007 Share 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 Link to comment Share on other sites More sharing options...
corz Posted October 12, 2007 Share Posted October 12, 2007 GUICtrlSetLimit () ;o) (or nothing is foolproof to the sufficiently talented fool.. Link to comment Share on other sites More sharing options...
notta Posted October 12, 2007 Author Share Posted October 12, 2007 you're alright man Thanks. Link to comment Share on other sites More sharing options...
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