EchoMode Property

Applies to TestComplete 15.30, last modified on January 19, 2022

Specifies the mode used to display the component’s text.

Declaration

componentPropObj.EchoMode
Read-Write Property String
componentPropObj     One of the objects listed in the Applies To section  

Applies To

This property applies to the following objects:

TcxButtonEditProperties, TcxCurrencyEditProperties, TcxDateEditProperties, TcxSpinEditProperties, TcxTextEditProperties

Description

The EchoMode property lets you get or set the mode used to display the component’s text. This property lets you mask inputted characters with a custom character specified by the PasswordChar property, and thus enter passwords or other sensitive information.

The EchoMode property affects both the text entered into the component manually and the text specified via the Text property from the script code.

The EchoMode property only affects the way the text is displayed. The actual value of the Text property is not modified.

Property Value

One of the following string values:

Value Description
eemNormal Text is displayed as it is entered. This is the default value.
eemPassword The entered characters are masked with PasswordChar characters and it is not possible to cut or copy the component’s text.

See Also

PasswordChar Property
Text Property

Highlight search results