
05.01.2015, 13:40
|
 |
Администратор
|
|
Регистрация: 03.10.2005
Адрес: Россия, Москва
Сообщения: 1,554
Версия Delphi: Delphi 7
Репутация: выкл
|
|
Цитата:
Сообщение от alyamus
hi friends , listbox I'm doing search , There are two of the same name , but finds only one
Код:
search:= 'happy';// There are two of the same name
if SendMessage(ListBox1.Handle, lb_selectstring, - 1, Longint(PChar(search))) <> LB_ERR then
with ListView1.Items.Add do begin
Caption:=IntToStr(ListBox1.ItemIndex); //but finds only one :(
lst.free;
end;
What is the problem ? There are two happy , but shows one
help me pls 
|
http://www.delphisources.ru/pages/so...n-listbox.html
|