SftMask/OCX 6.5

SftMask.PswdChar Property

Softel vdm, Inc.

Defines the character used to mask password fields.

Syntax       

Get

VB.NET

Pswd = object.PswdChar  As String

VB

Pswd = object.PswdChar  As String

C#.NET

string Pswd = object.PswdChar;

VC++

_bstr_t Pswd = object->PswdChar;
_bstr_t Pswd = object->GetPswdChar();

C

HRESULT object->get_PswdChar(BSTR* Pswd);

Delphi

Pswd := object.PswdChar   : WideString;

Put

VB.NET

object.PswdChar = Pswd  As String

VB

object.PswdChar = Pswd  As String

C#.NET

string object.PswdChar = Pswd;

VC++

_bstr_t object->PswdChar = Pswd;
void object->PutPswdChar(_bstr_t Pswd);

C

HRESULT object->put_PswdChar(BSTR Pswd);

Delphi

object.PswdChar := Pswd   : WideString;

object

A SftMask object.

Pswd

Defines the character used to mask password fields. Only one single character can be specified. If an empty string is specified, no password masking character is defined.

Comments

The PswdChar property defines the character used to mask password fields.

When used with a Masked Edit control (with Mask), all text defined using the <p subtoken is masked using the specified password character. It is possible to mask only portions of an edit control using the <p subtoken.

When used with a simple edit control (without Mask), all text is masked using the specified password character.

If no password masking character is defined, text is displayed as-is.


Feedback / comments / error reports for this topic
© 2000, 2008 - Softel vdm, Inc. - www.softelvdm.com