argv1

GUICtrlCreateInput Problem

3 posts in this topic

#1 ·  Posted (edited)

HI,

I current got the following Input field:

$Input1 =    GUICtrlCreateInput("", 16, 48, 185, 21, $ES_NUMBER)

everything works fine, but I would like to use $ES_PASSWORD as well,

but if I change it to:

$Input1 =   GUICtrlCreateInput("", 16, 48, 185, 21, $ES_NUMBER, $ES_PASSWORD)

I still can only enter digits but I can see the input. I also tried:

$Input1 =   GUICtrlCreateInput("", 16, 48, 185, 21, $ES_NUMBER) ;== nur Zahlen erlaubt
GUICtrlSetStyle(-1, $ES_PASSWORD)

but nothing changed. Is it possible to use both at the sam time and also limit the input length?

Edited by argv1

Share this post


Link to post
Share on other sites



#2 ·  Posted

Try:

$Input1 =   GUICtrlCreateInput("", 16, 48, 185, 21, BitOr($ES_NUMBER, $ES_PASSWORD))

 

Share this post


Link to post
Share on other sites

#3 ·  Posted

many thx

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