Some edit controls can work in the so-called password mode in which they do not display the actual text. They mask it by using a pre-defined character. The actual text is usually masked in password edit controls. The
wPasswordChar property holds the character that is displayed instead of the actual characters.
|TestObj||A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section|
The property is applied to the following objects:
Developer Express ButtonEdit, Developer Express TextEdit, Java Swing Password Field and 4 more objects, MFC Edit Browse, Qt LineEdit, Win32 Edit, WPF PasswordBox « Collapse the list
To view this property in the Object Browser panel and in other panels and dialogs, activate the Advanced view mode.
The character that is displayed instead of the actual characters in the edit control.
If the control’s text is not masked, the
wPasswordChar property holds an empty string.
To get the actual text the edit control contains, use the
To view an example that demonstrates how to use the
wPasswordChar property, see Working With Passwords Within an Edit Control in Desktop Windows Applications.
Working With Passwords Within an Edit Control in Desktop Windows Applications
wText Property (Edit Controls)