Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Sonstige Fragen zu Delphi (https://www.delphipraxis.net/19-sonstige-fragen-zu-delphi/)
-   -   Delphi Anzahl von Einträgen in Listbox (https://www.delphipraxis.net/59850-anzahl-von-eintraegen-listbox.html)

Knotti2005 29. Dez 2005 15:30


Anzahl von Einträgen in Listbox
 
Hallo,

ich will die Anzahl der Strings aus 2 Lisboxen auszählen lassem, wenn dies 30 übersteigen dann soll ein Message angezeigt werden wie mache ich das?

Delphi-Quellcode:
if listbox1.Items and listbox2.Items >0 then ShowMessage('!!!')

Ultimator 29. Dez 2005 15:31

Re: Anzahl von Einträgen in Listbox
 
Delphi-Quellcode:
if (Listbox1.Items.Count + Listbox2.Items.Count > 30) then
 machwas
:)

Knotti2005 29. Dez 2005 15:34

Re: Anzahl von Einträgen in Listbox
 
Achja Ups...

:duck:


Alle Zeitangaben in WEZ +1. Es ist jetzt 10:24 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz