Show: Delphi C++
Display Preferences

Vcl.StdCtrls.TCustomEdit.PasswordChar

From XE2 API Documentation
Jump to: navigation, search

Delphi

property PasswordChar: Char read FPasswordChar write SetPasswordChar default #0;

C++

__property System::WideChar PasswordChar = {read=FPasswordChar, write=SetPasswordChar, default=0};

Properties

Type Visibility Source Unit Parent
property protected
Vcl.StdCtrls.pas
Vcl.StdCtrls.hpp
Vcl.StdCtrls TCustomEdit

Description

Indicates the character, if any, to display in place of the actual characters typed in the control.

Use the PasswordChar property to create an edit control that displays a special character in place of any entered text. If PasswordChar is set to the null character (ANSI character zero), the edit control displays its text normally. If PasswordChar is any other character, the edit control displays PasswordChar in place of each character typed. PasswordChar affects the appearance of the edit control only. The value of the Text property reflects the actual characters that are typed.

See Also

Personal tools
Previous Versions
Translations