CHeighlund
Programmer
I'm working with a password screen for a project. I thought I had the screen ready to go, but then I realized a rather glaring flaw in my setup: The password is visible (readable, rather) in the associated text field.
I saw in one post something about a passwordchar property, but the text boxes I'm using don't appear to have that property available on them. Lacking this, how do I go about with the mask/hide attempt? I've been trying to work with a second text box and the OnKeyPress event in the first one, which seems to be doing most of what I want (OnKeyPress: Box2.Text := Box2.Text + Key; Key = '#'), but attempting to back up and delete characters in the first box doesn't seem to be working. The second box still contains everything that it had before the delete began.
Any suggestions about how I could correct this would be appreciated. Alternately, if anyone has a better method of creating the password box, I would appreciate hearing about that as well.
I saw in one post something about a passwordchar property, but the text boxes I'm using don't appear to have that property available on them. Lacking this, how do I go about with the mask/hide attempt? I've been trying to work with a second text box and the OnKeyPress event in the first one, which seems to be doing most of what I want (OnKeyPress: Box2.Text := Box2.Text + Key; Key = '#'), but attempting to back up and delete characters in the first box doesn't seem to be working. The second box still contains everything that it had before the delete began.
Any suggestions about how I could correct this would be appreciated. Alternately, if anyone has a better method of creating the password box, I would appreciate hearing about that as well.