Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

changing attributes of textBox

Status
Not open for further replies.

choudhmh

Programmer
Aug 9, 2004
34
GB
Hi Guys,
I have this textBox where its being used to insert password numbers. At present when someone tabs in any numbers on the fields the numbers can be visisble. I want when a user tabs a number in, instead of the numbers being visible i wnat the textBoxes to show this astrick (*), so no other users could view the password number.

Does anyone knows what i need to do, do i change the property or add extra script to change the fileds.

Thanks
Mac
 
This is how i managed to sort this problem:

By adding this script: textBox2.PasswordChar = (char)0x25CF;

Thanks fpr your help anyway
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top