Sign in to follow this  
Followers 0
condoman

Edit control

3 posts in this topic

I am trying to create a password type edit control and have two questions.

1. This $edtPassword = GUISetControl("edit","", 100, 180, 120, 20,32) does not hide the characters typed.

2. Each edit control shows a grayed out up/down arrow like it is multi-line but the default says it isn't. hen the statement above is used the up/down goes away but the password part does not work.

Thanks :ph34r:

Share this post


Link to post
Share on other sites



Lar:

I just you one line of the GUI I am using. Here is the whole thing.

$label_1 = GUISetControl("label", "Package", 10, 20, 120, 20)
$label_2 = GUISetControl("label", "Deploy Date", 10, 60, 120, 20)
$label_3 = GUISetControl("label", "Deploy Time", 10, 100, 120, 20)
$label_4 = GUISetControl("label", "Server", 10, 140, 120, 20)
$label_5 = GUISetControl("label", "Password", 10, 180, 120, 20)
$edtPackage = GUISetControl("edit", "", 100, 20, 320, 20,32)
$dteDeployDate = GUISetControl("date", "", 100, 60, 190, 20)
$dteDeployTime = GUISetControl("edit", @HOUR & ":" & @MIN, 100, 100, 120, 20,32)
$edtServer = GUISetControl("edit", "", 100, 140, 120, 20,32)
$edtPassword = GUISetControl("edit","", 100, 180, 120, 20,32)
$cmdCancel = GUISetControl("button","Cancel", 150, 220, 50, 20)
$cmdOK = GUISetControl("button","OK", 250, 220, 50, 20)

GuiShow()
GUIWaitClose()
MsgBox(4096,'debug:' , GUIRead($edtPackage) & ":" & GUIRead($dteDeployDate) & ":" & GUIRead($dteDeployTime) & ":" & GUIRead($edtServer) & ":" & GUIRead($edtPassword));### Debug MSGBOX 

Exit

Share this post


Link to post
Share on other sites

Doh!

Too much red wine.

Thanks Lar.

:ph34r:

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  
Followers 0