Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Sonstige Fragen zu Delphi (https://www.delphipraxis.net/19-sonstige-fragen-zu-delphi/)
-   -   Delphi combobox item (https://www.delphipraxis.net/143580-combobox-item.html)

karoglan 18. Nov 2009 18:25


combobox item
 
ich will ein string aus einer combobox auswählen und sie dann in einem if befehl verwenden.
hab gesucht, aber leider nichts gefunden

ich hab bis jetzt
if combobox1.items[1] then ... versucht gehtb abaer nicht


mfg

Wolfgang Mix 18. Nov 2009 18:34

Re: combobox item
 
Zitat:

if combobox1.items[1] then ... versucht gehtb abaer nicht
Versuch 'mal
if combobox1.item[1] = 'abc' then tuwas

ITEM OHNE 'S'

Gruß

Wolfgang

DeddyH 18. Nov 2009 18:45

Re: combobox item
 
Mit 'S' wäre aber günstiger :zwinker:

Wolfgang Mix 18. Nov 2009 18:48

Re: combobox item
 
Hast gewonnen, habe gerade kein Delphi laufen

DeddyH 18. Nov 2009 18:50

Re: combobox item
 
Ich auch nicht: Delphi-Referenz durchsuchenTCombobox

Wolfgang Mix 18. Nov 2009 18:53

Re: combobox item
 
Ich sagte ja schon, hast gewonnen, aber Daniels Wunderwaffe
ist (fast) unschlagbar :)

karoglan 21. Nov 2009 07:08

Re: combobox item
 
danke problem gelöst


Alle Zeitangaben in WEZ +1. Es ist jetzt 22:42 Uhr.

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