![]() |
| ||
|
|
Новости |
Поиск |
FAQ |
Статьи |
Книги |
Новости VCL
| | Форумы ЧАТ |
Орешник |
|
| |||
| |||
« предыдущая ветвь | форум | следующая ветвь »
Перестал работать поиск в ListBox [D5]
diww © (2002-05-23 18:09:00)После установки MultiSelect в True перестал работать быстрый поиск записи, сделанный так:
ListBox2.Perform(LB_SELECTSTRING,-1,longint(Pchar(Edit1.Text)));
Song (2002-05-23 18:12:00) [1]Читаем также хэлп:
Remarks
The list box is scrolled, if necessary, to bring the selected item into view.
Do not use this message with a list box that has the LBS_MULTIPLESEL style.
An item is selected only if its initial characters from the starting point match the characters in the string specified by the lpszFind parameter.
Song (2002-05-23 18:10:00) [2]Попробуйте LB_FINDSTRING