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

# TComboBoxAutoCompleteTextOption

TComboBoxAutoCompleteTextOption - Enumerated type that defines the behavior of the AutoComplete feature in a combobox control.

## Declaration

Source position: stdctrls.pp line 229

`type TComboBoxAutoCompleteTextOption = (`
`cbactEnabled,` |  |
`cbactEndOfLineComplete,` |  |
`cbactRetainPrefixCase,` |  |
`cbactSearchCaseSensitive,` |  |
`cbactSearchAscending` |  |
`);`

## Description

TComboBoxAutoCompleteTextOption defines the behavior of the AutoComplete feature.

- cbactEnabled: Enable Auto-Completion feature.
- 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 False)
- cbactSearchCaseSensitive: Search completion string with case sensitivity.
- cbactSearchAscending: Search completion string in ascending order. (False will search in descending order)

The latest version of this document can be found at lazarus-ccr.sourceforge.net.