Abanoub
Abanoub

Reputation: 3809

make the Text of Textbox invisible

Is it possible some how to make the Text of the Textbox invisible or to hide it so the user can't see it , yet it get's the input/keys from the user?

Upvotes: 0

Views: 8449

Answers (3)

AmNI5TIa
AmNI5TIa

Reputation: 17

Paste in your Properties -> Behavior -> PasswordChar symbol you need, empty blanks works too.

Upvotes: 0

Thomas Ayoub
Thomas Ayoub

Reputation: 29451

You can set ForeColor = BackColor

Upvotes: 2

Dmitry
Dmitry

Reputation: 14059

It's better to rely on the built-in capabilities.
For instance, consider to use the TextBox.PasswordChar property.

Upvotes: 6

Related Questions