djfshady Member Joined Mar 19, 2011 Posts 68 Reacts 0 Reputation 0 Credits 0 Mar 16, 2011 #1 This code will make your normal editbox text go from , 'hello' to '*****' without brackects. put this into a checkbox for example: Code: edit1.PasswordChar:='*' // this will change hello to ***** Code: edit1.PasswordChar:=#0; // this will return the password from ***** to hello And if you wanted it in an actual checkbox on your forum it would be set out like this. Code: if checkbox1.checked = true then edit1.passwordchar := '*' else edit1.PasswordChar := #0; edit1.PasswordChar:=#0; what this basicly does is changes the text char from * back to the origenal text before the char was changed to *. edit1.PasswordChar:='*' what this does is it makes the origenal text turn into *'s making it unreadable.
This code will make your normal editbox text go from , 'hello' to '*****' without brackects. put this into a checkbox for example: Code: edit1.PasswordChar:='*' // this will change hello to ***** Code: edit1.PasswordChar:=#0; // this will return the password from ***** to hello And if you wanted it in an actual checkbox on your forum it would be set out like this. Code: if checkbox1.checked = true then edit1.passwordchar := '*' else edit1.PasswordChar := #0; edit1.PasswordChar:=#0; what this basicly does is changes the text char from * back to the origenal text before the char was changed to *. edit1.PasswordChar:='*' what this does is it makes the origenal text turn into *'s making it unreadable.