Показать сообщение отдельно
  #1  
Старый 04.01.2015, 18:29
alyamus alyamus вне форума
Прохожий
 
Регистрация: 21.05.2012
Сообщения: 28
Репутация: 10
По умолчанию listbox search problem :(

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
Ответить с цитированием