textbox password Chars (VB)

ThePentiumGuy

Well-known member
Joined
May 21, 2003
Messages
1,113
Location
Boston, Massachusetts
textbox password Chars

In a textbox, how do you set its property so that the characters displayed in are in password format (*). I dont want the actual letters show, i want some asterisks(*) shown
 
Go to PasswordChar property and set a symbol that will cover all other letters. For ex. type "*" in there and it will look like standard password box.
 
oh ok

Basically the passwordChar is a character that can be used to mask the textBox,
in WindowsXP, they use Dots as Password Char masks, how do you those, its ALT + something, i forgot
 
Using the WXP dots can only be done when the person uses WXP, on other versions you wont be able to use the dots, but as always there should be a trick to do it outside WXP calling some APIs. If I find something Ill let you know. or do what dynamic_sysop says meanwhile
 
Back
Top