Obscure Text in Textbox

  • Thread starter Thread starter Bernie Hunt
  • Start date Start date
B

Bernie Hunt

I have a login dialog that has a text box on it for the user to type their
password. How can I obscure the information they are entering into the
password box? I could blank it, but a more traditional blips or asterics
would give the user better feedback. Is there a build in way to do this, or
should I capture the caractors as they come in and replace them with blobs?

Bernie
 
Cor,

You are the man! If I ever get to your neck of the world, I'm going to have
to buy you a whole bar worth of drinks to make up for your help! If you
make it to NYC, I can at least by you a couple at NYC prices, hahahaha.

Bernie
 
Bernie Hunt said:
I have a login dialog that has a text box on it for the user to type their
password. How can I obscure the information they are entering into the
password box? I could blank it, but a more traditional blips or asterics
would give the user better feedback. Is there a build in way to do this,
or
should I capture the caractors as they come in and replace them with
blobs?

See properties 'PasswordChar' (.NET 1.*, .NET 2.0) and
'UseSystemPasswordChar' (.NET 2.0).
 
Back
Top