Sumar
Publicado por deltock (1 intervención) el 06/07/2001 05:36:12
Hola Me Podrian decir como sumo el subitem de un list view , El contenido inicial es 1 .
esta intruccion pongo pero me da error
for i:= 0 to Listview1.Items.Count -1 do begin
if uppercase(Listview1.Items[i].Caption) = uppercase(numero) then
ListView1.Items.Item[i].SubItems.text:=(IntToStr(StrToInt(ListView1.Items.Item[i].SubItems.text)+1));
Ojala me ayuden chao
esta intruccion pongo pero me da error
for i:= 0 to Listview1.Items.Count -1 do begin
if uppercase(Listview1.Items[i].Caption) = uppercase(numero) then
ListView1.Items.Item[i].SubItems.text:=(IntToStr(StrToInt(ListView1.Items.Item[i].SubItems.text)+1));
Ojala me ayuden chao
Valora esta pregunta


0