Autor Beitrag
majolo
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 334

Ubuntu 8.04, WinXP Prof.
D1, D6Pers, D7 Prof., D8 Prof., D2005 Pers
BeitragVerfasst: Fr 11.10.02 18:27 
Wie verbindet man am besten zwei Bedingungen miteinander.Genauer: Wenn zwei ComboBoxen beide den ItemIndex 8 haben, soll beispielsweise ne Messagebox geöffnet werden.Als ich noch mit Delphi 1 programmiert habe hatte ich einen einwandfrei funktionierenden Code, aber den kriege ich irgendwie nicht mehr zusammen. :bawling:
Danke
Gruss
majolo
Popov
Gast
Erhaltene Danke: 1



BeitragVerfasst: Fr 11.10.02 18:37 
ausblenden Quelltext
1:
if (ComboBox1.ItemIndex = 8) and (ComboBox2.ItemIndex = 8) then ...					


Das Geheimnis sind die Klammern.
majolo Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 334

Ubuntu 8.04, WinXP Prof.
D1, D6Pers, D7 Prof., D8 Prof., D2005 Pers
BeitragVerfasst: Fr 11.10.02 19:03 
Genauso habe ich den Code auch.Aber warum funzt der bei mir nicht.Mal neustarten.
Gruss
majolo
majolo Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 334

Ubuntu 8.04, WinXP Prof.
D1, D6Pers, D7 Prof., D8 Prof., D2005 Pers
BeitragVerfasst: Fr 11.10.02 19:08 
Ein Neustart wirkt Wunder.Weiß nicht warum.Aber egal.
Gruss
majolo 8)