Vcl.StdCtrls.TCustomListBox.AutoComplete
Delphi
property AutoComplete: Boolean read FAutoComplete write FAutoComplete default True;
C++
__property bool AutoComplete = {read=FAutoComplete, write=FAutoComplete, default=1};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Vcl.StdCtrls.pas Vcl.StdCtrls.hpp |
Vcl.StdCtrls | TCustomListBox |
Description
Determines whether the user can give focus to items by typing in the list.
Use AutoComplete to specify whether the list box automatically updates the ItemIndex property in response to user keystrokes. When AutoComplete is true, the item with focus changes to the first item that begins with the sequence of characters that the user typed. As the user types more characters, ItemIndex may change to a later item because the string to match becomes longer.