Autor Beitrag
cromos
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 219


Delphi 7
BeitragVerfasst: Mo 25.08.03 18:29 
Hallo.

wie kann ich die Anzahl der Einträge im Listview abfragen?

Gruss
Cromos
MSCH
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1448
Erhaltene Danke: 3

W7 64
XE2, SQL, DevExpress, DevArt, Oracle, SQLServer
BeitragVerfasst: Mo 25.08.03 18:34 
items.count

grez
msch

_________________
ist das politisch, wenn ich linksdrehenden Joghurt haben möchte?
cromos Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 219


Delphi 7
BeitragVerfasst: Mo 25.08.03 18:44 
thanks. Dat' hab ich gesucht.
Terra23
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 872

Win 8
Delphi 7
BeitragVerfasst: Mo 25.08.03 19:06 
...du mußt nur aufpassen. Items.Count gibt dir nur die Anzahl der Einträge an. Wenn du damit arbeiten willst, ist der erste Eintrag nicht 1 sondern 0, also mußt du z.B. in Schleifen

ausblenden Delphi-Quelltext
1:
2:
For Zaehler:=0 To ListBox1.Items.Count-1 Do
...


benutzen.

_________________
Hasta La Victoria Siempre