AllowInputText Event

Applies to TestComplete 14.80, last modified on April 15, 2021

Occurs when the combo box requests whether the users are allowed to input text in it.

Declaration

AllowInputText(Data) Parameters
Data [in] Required Object
Result     Boolean  

Description

Custom keyword test operations can use combo boxes and in-place editors in the Keyword Test editor. The AllowInputText is raised to determine whether the users are allowed to manually input values into the combo box, in addition to selecting values from the drop-down list.

The default event handler used by TestComplete always returns False, so that users cannot type into the combo box.

Parameters

The event has the following parameter:

Data

An object that provides access to the operation fields. This object contains properties that correspond to individual operation fields and whose names coincide with the field names.

Return Value

True if the users are allowed to input values in the combo box. False if the users can only select values from the drop-down list.

See Also

Events Reference
GetCount Event
GetItem Event
Creating Keyword Test Operations

Highlight search results