Sign in Join
FPDoc Onlineexperiment

TCustomEdit.PasswordChar property

Member of TCustomEditpublicIn unit StdCtrls

Allows obfuscation of the displayed text, showing all characters as PasswordChar.

Declaration

pascal
property PasswordChar: char read FPasswordChar write SetPasswordChar default #0;

Description

Typically used in password input, to hide the input from other viewers. The value in Text is still available for the WM_GETTEXT message.

For the macOS Carbon widgetset, changing the default value for the property is not supported.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.