Skip to main content

TcxCustomTextEditProperties.PasswordChar Property

Specifies the character (if any) to display in place of the actual characters typed into an editor.

Declaration

property PasswordChar: TCaptionChar read; write; default #0;

Property Value

Type
TCaptionChar

Remarks

Use the PasswordChar property to specify a special character, which will be displayed in the place of any text entered into the editor. To enable this mode, set the EchoMode property to eemPassword.

If the PasswordChar property is set to the null character (ANSI character zero), the editor displays its text normally. If the PasswordChar property is assigned any other character, the editor displays this character in place of each character typed in. The PasswordChar property affects the appearance of the editor’s display text only. The value of the Text property reflects the actual characters that are typed in.

See Also