Textbox and checkbox

If you need help with a project or need to know how to do something specific in VB.NET then please ask your questions in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
3 posts Page 1 of 1
Contributors
User avatar
pip
VIP - Donator
VIP - Donator
Posts: 156
Joined: Tue Jul 12, 2011 3:13 am

Textbox and checkbox
pip
Hi i need help with a problem i forgot the coding on how to use the checkbox to show charecters of password in a textbox what i am trying to do is make if checkbox1.checked then it will show password charecters, and if not checked it shows the astriks!
Thanks if you can rejog my short term memory nerner; !!
<a href="http://www.points2shop.com/s/xbox_point ... 5082"><img src="http://points2shop.com/images/promotion ... ricoxg.gif" border="0"/></a>
User avatar
Skillful
Skillful Coders
Skillful Coders
Posts: 969
Joined: Tue Nov 16, 2010 10:07 am

Re: Textbox and checkbox
Skillful
Code: Select all
If CheckBox1.Checked = True Then
TextBox1.UseSystemPasswordChar = True
Else
TextBox1.UseSystemPasswordChar = False
End If
Simple :) !
Instead of LOL use this -
LSIBMHBIWFETALOL

Which means -
Laughing silently in between my head because it wasn't funny enough to actually laugh out loud!
User avatar
pip
VIP - Donator
VIP - Donator
Posts: 156
Joined: Tue Jul 12, 2011 3:13 am

Re: Textbox and checkbox
pip
Skillful wrote:
Code: Select all
If CheckBox1.Checked = True Then
TextBox1.UseSystemPasswordChar = True
Else
TextBox1.UseSystemPasswordChar = False
End If
Simple :) !
You made it seem easier lol i been overthinking thanks!
guess i am just tired :/
<a href="http://www.points2shop.com/s/xbox_point ... 5082"><img src="http://points2shop.com/images/promotion ... ricoxg.gif" border="0"/></a>
3 posts Page 1 of 1
Return to “Coding Help & Support”