DropDownListStyle Property

Applies to TestComplete 14.20, last modified on September 11, 2019

Specifies the component’s behavior when a user inputs text.

Declaration

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

Applies To

This property applies to the following objects:

TcxComboBoxProperties, TcxMRUEditProperties

Description

Use the DropDownListStyle property to specify whether a user can input text or only select values from the drop-down window of the component.

Property Value

One of the string values that specify the component’s behavior:

Value Description
lsEditFixedList Users can enter text into the edit field of the component. If the entered string matches a string listed in the drop-down window, the component automatically completes the input. Entering new strings is not allowed.
lsEditList Users can enter text into the component's edit field and the entered strings are automatically added to the drop-down list. Entering of new strings is allowed.
lsFixedList Users cannot type text within the component's edit field. They can only select values from the drop-down list.

At design time you specify the DropDownListStyle property by selecting the appropriate value from the drop-down list in the Properties window of the TestComplete user form editor.

At run time you specify the property value by assigning the appropriate integer constant to the property.

See Also

DropDownRows Property
DropDownWidth Property
DropDownAutoWidth Property

Highlight search results