Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Object-Pascal / Delphi-Language (https://www.delphipraxis.net/32-object-pascal-delphi-language/)
-   -   Delphi prüfen einer combobox (https://www.delphipraxis.net/23205-pruefen-einer-combobox.html)

herrentor 30. Mai 2004 21:41


prüfen einer combobox
 
moin,

ich bekomm einfach nicht raus, wie man rausfindet, ob in einer combobox etwas ausgewählt wurde oder nicht, falls das nämlich nicht der fall ist, möchte ich da gerne mit einer message drauf reagieren.

danke im voraus.

Christian Seehase 30. Mai 2004 21:59

Re: prüfen einer combobox
 
Moin Herrentor,

Du müsstest prüfen, ob ItemIndex <> -1 ist.

Ratte 30. Mai 2004 21:59

Re: prüfen einer combobox
 
Falls ich dich richtig verstehe: Combobox.Itemindex

Ratte

herrentor 31. Mai 2004 02:55

Re: prüfen einer combobox
 
hat sich erledigt, besten dank.


Alle Zeitangaben in WEZ +1. Es ist jetzt 10:27 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