
27.03.2014, 07:27
|
Прохожий
|
|
Регистрация: 01.05.2012
Сообщения: 5
Репутация: 10
|
|
Цитата:
Сообщение от delpi12
а как здес удалить выделенную
|
Код:
if ListBox1.ItemIndex>-1 then begin
Persons.Delete(ListBox1.ItemIndex);
ListBox1.Items.Delete(ListBox1.ItemIndex);
end;
|