[Overview][Constants][Types][Classes][Procedures and functions][Index] | Reference for unit 'StdCtrls' (#lcl)

# TComboBoxAutoCompleteTextOption

Defines the behavior of the AutoComplete feature in a combo-box control.

## Declaration

Source position: stdctrls.pp line 250

`type TComboBoxAutoCompleteTextOption = (`
`cbactEnabled,` |  | Enable Auto-Completion features.
`cbactEndOfLineComplete,` |  | Perform Auto-Complete only when cursor is at the end of the string.
`cbactRetainPrefixCase,` |  | Retains the case of characters user has typed. This option has no effect if cbactEndOfLineComplete is not set.
`cbactSearchCaseSensitive,` |  | Search for the completion string with case sensitivity.
`cbactSearchAscending` |  | Search completion strings in ascending order when set. Otherwise, search in descending order.
`);`

## Description

TComboBoxAutoCompleteTextOption is an enumerated type with values which control the auto-completion features and behaviors in combo-box controls. Values from the enumeration are stored in the TComboBoxAutoCompleteText type used in the AutoCompleteText property in TCustomComboBox and descendent classes.

## See also

TComboBoxAutoCompleteText |  | Set of TComboBoxAutoCompleteTextOption values.
TCustomComboBox.AutoCompleteText |  | Options for the behavior of the Auto-Complete feature.