Passwords are a nightmare!
The code I usually use is:
LoadControl TextBoxObject(1)
TextBoxObject(1).Font.Size = 12
TextBoxObject(1).Font = "Times New Roman"
TextBoxObject(1).PasswordChar = "*"
TextBoxObject(1).Visible = "True"
And then to check the password:
If TextBoxObject(1).Text = Password then Action.GoToFrame"Frame" : i = 1
If i = 0 Then If TextBoxObject(1).Text = "" then MsgBox("Please enter a password") : i = 1
If i = 0 Then if TextBoxObject(1).Text <> Password then MsgBox("Incorrect Password") : TextBoxObject(1).Enabled = False : TextBoxObject(1).Visible = "False" : i = 1
Errr... that probably doesn't help and I might have a mistake(I'm doing this from memory), but I'd say that would create a more versatile system, and you could customize the textbox to look the way you want.
_________________
recesion