Jump to content
Sign in to follow this  
Shadowpp

Limit the number of characters enterd in an Inputbox

Recommended Posts

Shadowpp

Can I lmiit the numbers of characters that can be entered within my Inputbox? I am already limiting the type to numerical only.

Thanks in advance.

$Combo_1 = GUICtrlCreateInput("", 20, 150, 155, 20, $ES_UPPERCASE)

GUICtrlSetStyle ( $Combo_1, $ES_NUMBER)

GUICtrlSetFont($Combo_1, 10, 600, "", "Comic Sans")

$Label_1 = GUICtrlCreateLabel("Enter the Asset Tag Number", 20, 130, 155, 20)

Share this post


Link to post
Share on other sites
Shadowpp

My bad - missed the solution - GUICtrlSetLimit ( controlID, max [, min] )

thanks anyway

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  

×