TCnComboBox.AutoCompleteSource Property

Gets or sets a value specifying the source of complete strings used for automatic completion.

Namespace: CNClrLib.Control.ComboBox
published
 property AutoCompleteSource: TAutoCompleteSource read GetAutoCompleteSource write SetAutoCompleteSource default TAutoCompleteSource.acsNone;

Property Value

Use the AutoCompleteCustomSource, AutoCompleteMode, and AutoCompleteSource properties to create a ComboBox that automatically completes input strings by comparing the prefix being entered to the prefixes of all strings in a maintained source. This is useful for ComboBox controls in which URLs, addresses, file names, or commands will be frequently entered.

The use of the AutoCompleteCustomSource property is optional, but you must set the AutoCompleteSource property to CustomSource in order to use AutoCompleteCustomSource.

You must use the AutoCompleteMode and AutoCompleteSource properties together.