ComponentOne True DBInput Pro 8.0
PasswordChar Property (TDBText)

 

Reference> TDBText Control> TDBText Control Properties> PasswordChar Property (TDBText)

PasswordChar Property (TDBText)

Syntax

TDBText.PasswordChar= string

Read/Write at run time and design time.

Values

Zero-length string ("") is the default

Remarks

The PasswordChar property can be used to create a password field in a dialog box. Although you can use any SBCS character, most Windows-based applications use the asterisk (*) (Chr(42)). This property does not affect the Text property.

Text contains exactly what the user types or what was set from code. Setting the PasswordChar to a zero-length string ("), which is the default, will display the actual text in the control.

This property allows only one character to be set. All others will be ignored.

If the MultiLine property is set to True, setting the PasswordChar will have no effect.

Applying a character to the PasswordChar property will automatically set the IMEMode property to 3-Disabled. If you try changing the IMEMode setting through the Property Page or by code, the control will automatically set it back to 3-Disabled.

See Also

MultiLine Property (TDBText)

Text Property (TDBText)

IMEMode Property (TDBText)

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback