Link to home
Start Free TrialLog in
Avatar of sam17
sam17

asked on

stars

how can i make the words written in an inputbox to look like "stars" as in a password so nobody can see what is written
Avatar of Otana
Otana

set the passwordchar property to '*'.
On your input box, right click and select properties.  Go down until you see PasswordChar.  Put * in the field beside it.  When you type in that field, stars will appear.
Set the passwordchar property of the textbox to *

That's all..

Max.
Shabba, before you spend much time here, please read the guidelines on comments vs answers at the bottom of this page. You have repeated the essence of the previous comment but have had the temerity to give it as an answer. This is in direct contravention to the guidelines given and may lead to your account being referred to customer services for possible penalty should you continue in this manner. I understand that today is your first day here so you can be excused this once. Please take the time to read the guidelines and also the comments on the expertsonly page https://www.experts-exchange.com/jsp/cmtyExpertsOnly.jsp before continuing to post answers.

Sam17, you should reject the proposed answer and choose Otana's comment as an answer, click on the button in the blue comment line next to his/her name.
Avatar of sam17

ASKER

i only want the password input box to be "coded"
how can i see the properties of this inputbox if i have

password = inputbox("enter password")
What if Shabba and Otana were typing at the same time, and Otana, having a shorter post, hit 'Post' first?
Shabba didn't necessarily see the other posts when he started typing. Maybe you should cut him some slack?
Anyway, Shabba was much more verbose, which means even the newest VB user could have understood his instructions. Not all VB newbies will understand how to set a property right off the bat. (Even though they should.)
ASKER CERTIFIED SOLUTION
Avatar of Ark
Ark
Flag of Russian Federation image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Dang, you're fast ark :)