Вверх ↑
Ответов: 2193
Рейтинг: 673
#1: 2015-05-12 14:56:55 ЛС | профиль | цитата
А если вместо
#pas
LVItems[LVCurItem, i] := e.Text;
использовать
#pas
LVSetItem(LVCurItem, i, e.Text, LVItemImageIndex[LVCurItem], [], LVItemStateImgIdx[LVCurItem], 0, 0);

У меня не получилось
------------ Дoбавленo в 14.56:
Получилось вот так:
#pas
for i := EList.Count - 1 downto 0 do begin
e := EList.Items[i];
if Store then
LVSetItem(LVCurItem, i, e.Text, LVItemImageIndex[LVCurItem], [], LVItemStateImgIdx[LVCurItem], 0, 0);
// LVItems[LVCurItem, i] := e.Text;
if e.Focused then CurEdit := i + 1;
e.Free;
//o := False;
end;
Только остальные параметры у LVSetItem чем заполнить (нули и [])?
карма: 10

0