Sumar
Publicado por deltock (1 intervención) el 07/07/2001 21:19:21
Hola Me Podrian decir como sumo el contenido de un subitem de un list view , El contenido q empiesa en 1 y se le suma EL mISMO subitem.
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