passwordField

Type: Boolean

Availability: Read or write at any time

The passwordField property specifies whether the characters typed by a user or placeholder characters are displayed in a TextBox control.

If the value of this property is true, the specified text is displayed as asterisk (*) characters. Use this property to create a single-line password text box. The passwordField property does not affect the entered text, but only the display of that text.

You can paste into a text box when the value of the passwordField property is set to true but you cannot copy (using the Ctrl+C shortcut keys) or cut (using the Ctrl+X shortcut keys) the password text to the clipboard; such an attempt is rejected with a message beep.

Setting the passwordField property value to true causes the text box to become a single-line entry text box and disables the alignment, scrollBars, and scrollVertical properties.