Jump to content

Phone number inputbox


notta
 Share

Recommended Posts

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

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...