TcxTextEdit Object

Applies to TestComplete 15.70, last modified on December 17, 2024

The TcxTextEdit component represents a single-lined text box control that is used to display or enter text.

To obtain or set the text displayed in the component, use the Text property. The Properties.MaxLength property lets you limit the length of text that can be inputted into the component. To prevent a user from modifying the component’s text, use the Properties.ReadOnly property.

The TcxTextEdit component provides an automatic completion feature. When a user is typing text, the component adds a predefined string that starts with the inputted character. The list of automatically added strings is specified by the Properties.LookupItems property.

It is possible to mask the text inputted into the text box, for example, to input passwords. To enable masking, set the Properties.EchoMode property to “eemPassword” and specify the masking character in the Properties.PasswordChar property.

The TcxTextEdit component raises a number of events that you can process in your scripts. For example, you can create an event handler for the OnChange event to perform specific actions when the component’s text is changed.

TcxTextEdit Properties

TcxTextEdit Methods

TcxTextEdit Events

See Also

User Forms
TcxMemo Object

Highlight search results