Я хотел бы, чтобы пользователь мог вводить второе или третье слово из элемента TComboBox
и для этого элемента отображаться в раскрывающихся списках AutoSuggest
Например, поле со списком содержит элементы:
- Г-н Джон Браун
- Миссис Аманда Браун
- Г-н Брайан Джонс
- Миссис Саманта Смит
Когда пользователь набирает "Br", выпадающий список отображает:
- Г-н Джон Браун
- Миссис Аманда Браун
- Г-н Брайан Джонс
и когда пользователь набирает "Jo", выпадающий список отображает:
- Г-н Джон Браун
- Г-н Брайан Джонс
Проблема заключается в том, что функциональность AutoSuggest
включает только элементы в раскрывающемся списке, которые начинаются с ввода пользователя, и поэтому в приведенных выше примерах ничего не появится в раскрывающемся списке.
Можно ли использовать интерфейс IAutoComplete
и/или другие связанные интерфейсы, чтобы обойти эту проблему?