Autor Beitrag
qwertzuiopü
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 63



BeitragVerfasst: Do 07.07.05 19:03 
Hi!

Wie stelle ich fest wieviele Items sich in einer Listbox befinde?

!!!DAnke!!!

-qwertzuiopü-


Moderiert von user profile iconChristian S.: Topic aus Dateizugriff verschoben am Do 07.07.2005 um 20:05
Keldorn
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 2266
Erhaltene Danke: 4

Vista
D6 Prof, D 2005 Pro, D2007 Pro, DelphiXE2 Pro
BeitragVerfasst: Do 07.07.05 19:05 
ausblenden Delphi-Quelltext
1:
listbox1.items.count					

läßt sich auch mit der OH leicht selber rausfinden

_________________
Lükes Grundlage der Programmierung: Es wird nicht funktionieren.
(Murphy)
Christian S.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 20451
Erhaltene Danke: 2264

Win 10
C# (VS 2019)
BeitragVerfasst: Do 07.07.05 19:06 
Ganz einfach: ListBox1.Items.Count

Grüße
Christian

_________________
Zwei Worte werden Dir im Leben viele Türen öffnen - "ziehen" und "drücken".
qwertzuiopü Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 63



BeitragVerfasst: Do 07.07.05 19:16 
Ich hätte es ja auch selbst rausgefunden, doch ich kann zurzeit nicht Delphi benutzen. Bekomme ich dann eine Integer zahl?

-qwertzuiopü-
Christian S.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 20451
Erhaltene Danke: 2264

Win 10
C# (VS 2019)
BeitragVerfasst: Do 07.07.05 19:17 
user profile iconqwertzuiopü hat folgendes geschrieben:
Ich hätte es ja auch selbst rausgefunden, doch ich kann zurzeit nicht Delphi benutzen. Bekomme ich dann eine Integer zahl?
Was sollte sonst rauskommen? :gruebel:

_________________
Zwei Worte werden Dir im Leben viele Türen öffnen - "ziehen" und "drücken".
alias5000
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2145

WinXP Prof SP2, Ubuntu 9.04
C/C++(Code::Blocks, VS.NET),A51(Keil),Object Pascal(D2005PE, Turbo Delphi Explorer) C# (VS 2008 Express)
BeitragVerfasst: Do 07.07.05 19:44 
...Ein Real-Typ, oder was; so z.B. es befinden sich 3,4523 Items in der Listbox :angel: ...

_________________
Programmers never die, they just GOSUB without RETURN
Luckie
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Do 07.07.05 20:17 
user profile iconalias5000 hat folgendes geschrieben:
...Ein Real-Typ, oder was;

Wie wäre es mit einem Boolean? :mrgreen:
alias5000
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2145

WinXP Prof SP2, Ubuntu 9.04
C/C++(Code::Blocks, VS.NET),A51(Keil),Object Pascal(D2005PE, Turbo Delphi Explorer) C# (VS 2008 Express)
BeitragVerfasst: Do 07.07.05 20:25 
ach was nehm Variant. Frisst möglichst viel Speicher, iss möglichst langsam, aufwendiger zu programmieren und man kann sich den Typ auch noch aussuchen!!! :idea:

_________________
Programmers never die, they just GOSUB without RETURN