Re: remove PasswordChar

samir parekh <[email protected]>
Newsgroups gmane.comp.windows.devel.dotnet.winforms
Message-ID <[email protected]>
working example

 private void button1_Click(object sender, EventArgs e)
        {
            textBox4.PasswordChar = '\0';
        }

tried in VS 2005

Peter Osucha <[email protected]> wrote: I can't seem to figure out how to programmatically change the
PasswordChar property of a textbox to remove the password character.  It
can't be set to '' or a compile error occurs.  Same if setting to null.
I know I can set it easily in the properties window but now, for my own
curiousity, I would like to know how to remove the password character.

peter










---------------------------------
Ahhh...imagining that irresistible "new car" smell?
 Check outnew cars at Yahoo! Autos.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.