The PasswordChar can be used to create a password field in a dialog box. Although you can use any SBCS character, most Windows-based applications use the asterisk (*) (Chr(42)).
This property does not affect the Text property. Text contains exactly what the user types or what was set from code. Setting the PasswordChar to 0, which is the default, displays the actual text in the control.