BigBadWeirdo Posted July 6, 2005 Posted July 6, 2005 Uh this question may sound a bit noobie, but i am a noob so don't mind :"> What i want to know is how to make an InputBox in a GUI passworded, so that you can only see the *** thingies Someone please tell me oh and if you need it, here's the inputbox i want to be passworded: $wachtwoord = GUICtrlCreateInput("", 115, 125, 200, 20)
LxP Posted July 6, 2005 Posted July 6, 2005 What i want to know is how to make an InputBox in a GUI passworded, so that you can only see the *** thingies What you'll want to look into is the style parameter of GUICtrlCreateEdit(). Take a look at the link on that page of the help file for more information. Regards,Alex Peters
BigBadWeirdo Posted July 6, 2005 Author Posted July 6, 2005 (edited) Wow i thought i have it but it still doesn't work, my code now is: $wachtwoord = GUICtrlCreateEdit("", 115, 125, 200, 20, $ES_PASSWORD) Uh can someone tell me what i'm doing wrong? Edited July 6, 2005 by BigBadWeirdo
layer Posted July 6, 2005 Posted July 6, 2005 Do you have the line: #include <GUIConstants.au3> at the top of your script? FootbaG
LxP Posted July 6, 2005 Posted July 6, 2005 Wow i thought i have it but it still doesn't work, my code now is:$wachtwoord = GUICtrlCreateEdit("", 115, 125, 200, 20, $ES_PASSWORD)Uh can someone tell me what i'm doing wrong? When I started with AutoIt, this had me stumped. AutoIt selects a default set of styles if you leave the styles field blank. If you do however set your own style/s, AutoIt does not automatically include its defaults.Adding an extra constant should fix your problem:$wachtWoord = guiCtrlCreateEdit("", 115, 125, 200, 20, $GUI_SS_DEFAULT_EDIT + $ES_PASSWORD)Regards,Alex
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