Sign in to follow this  
Followers 0
Arterie

Variables in Inutbox command

3 posts in this topic

#1 ·  Posted (edited)

Hi!

I have a question and hope that you can help me.

$password = "right"

$pass = InputBox("Password","Enter Password:", & $password,"*M5",1,1)

Maybe this what you see doesnt make any sense to you but how could it be made that the password is shown where it should be....in the box.

Edited by Arterie

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Sry had some problems with the forum

Edited by Arterie

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Welcome,

Perhaps this is what you want?

$password = "right"
$pass = InputBox("Password", "Enter Password:", $password, " M5", 100, 120)
If Not @error Then
    MsgBox(0, '', $pass)
EndIf

Using a space instead of an asterisk will show the password in the input control.

:)

Edited by MHz

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