PasswordChar=

>>-anEditControl~PasswordChar=--char---------------------------><


The PasswordChar= method sets the character that is displayed in an edit control for which the PASSWORD or ES_PASSWORD flag is set.

Arguments:

The only argument is:

char

The character that is displayed for the typed characters.

Example:

The following example ensures that if the PASSWORD style was chosen for the edit control, the dollar sign ($) is displayed for each character typed in the edit control:

edit = MyDialog~GetEditControl("TEXT")
if edit == .Nil then return
edit~PasswordChar = "$"
say "The new password character is" edit~PasswordChar