Thema: Delphi Listview.Items.Insert ?

Einzelnen Beitrag anzeigen

lucius

Registriert seit: 6. Okt 2005
Ort: Niederlande
215 Beiträge
 
Delphi 7 Enterprise
 
#3

Re: Listview.Items.Insert ?

  Alt 29. Nov 2005, 15:11
Hi dahead und wie uebergebe ich dan
Delphi-Quellcode:
////////////////////Neu Eintraege///////////////////////////////
      listitem.Caption := IntToStr(Succ(o));
      z.Values['Added'] := Parse(' ', z.Values['Added'], 1);
      listitem.SubItems.Add(z.Values['Added']);
      listitem.SubItems.Add(z.Values['Category']);
      listitem.SubItems.Add(SimpleRSS.Items.Items[o].Title);
      listitem.SubItems.Add(z.Values['Size']);
      listitem.SubItems.Add(z.Values['Status']);
      listitem.SubItems.Add(z.Values['Speed']);
      listitem.SubItems.Add(SimpleRSS.Items.Items[o].Link);
      listitem.SubItems.Add(z.Values['Download']);
///////////////////////////////////////////////////////////////
an Insert(0,...)?
Etwa so?
Delphi-Quellcode:
listitem.SubItems.Insert(0, z.Values['Added']);
listitem.SubItems.Insert(0, z.Values['Category']);
listitem.SubItems.Insert(0, SimpleRSS.Items.Items[o].Title);
....
Das habe ich naemlich schon versucht und bekam nen Listindex out of bounds.
  Mit Zitat antworten Zitat