Jump to content

GUICtrlCreateInput Problem

Recommended Posts



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

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


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.