Thema: Delphi listview spalte

Einzelnen Beitrag anzeigen

MathiasSimmack
(Gast)

n/a Beiträge
 
#4

Re: listview spalte

  Alt 18. Jul 2003, 07:41
Wie unverschämt.
Delphi-Quellcode:
iErgebnis := 0;

with ListView1.Items do
  for i := 0 to Count - 1 do
    inc(iErgebnis,StrToIntDef(Item[i].SubItems[0],0));
"i" und "iErgebnis" sind integer-Variablen.
  Mit Zitat antworten Zitat