LookupItems Property

Applies to TestComplete 15.69, last modified on November 13, 2024

Specifies the list of automatically completed strings.

Declaration

componentPropObj.LookupItems
Read-Write Property A TStrings object
componentPropObj     One of the objects listed in the Applies To section  

Applies To

This property applies to the following objects:

TcxButtonEditProperties, TcxMRUEditProperties, TcxTextEditProperties

Description

Use the LookupItems property to get or set the list of words used by the automatic completion feature.

The automatic completion feature is built into the TcxButtonEdit, TcxMRUEdit and TcxTextEdit components. As the user types the text into the component, the component completes it with the first string from the LookupItems list which starts with entered characters. For the TcxMRUEdit component, it is also possible to navigate through the strings list using the Up and Down keys when the component is focused.

To determine whether the LookupItems list is sorted alphabetically or to sort it, use the LookupItemsSorted property.

Property Value

A TStrings object that contains the list of automatically completed strings.

See Also

LookupItemsSorted Property
TStrings Object

Highlight search results