Autor Beitrag
Zlatan
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 175



BeitragVerfasst: Do 20.01.11 18:51 
Ich versuche ein Quiz zu machen.
Meine Form erstellt bei jedem Start eine neue Frage. Es gibt 6 zur auswahl.
Es gibt 4 buttons. Also sind 2 buttons logischerweise bei je 2 fragen richtig

Ich müsste also einen Quelltext erstellen
zu deutsch:
ausblenden Delphi-Quelltext
1:
2:
3:
if Label1.Caption='...' oder ',,,'
then begin 
.....

Wie kann ich dieses oder ausdrücken, sodass der button bei zwei fragen richtig ist?

Moderiert von user profile iconNarses: Delphi-Tags hinzugefügt
Moderiert von user profile iconNarses: Topic aus Sonstiges (Delphi) verschoben am Do 20.01.2011 um 17:52
Narses
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Administrator
Beiträge: 10183
Erhaltene Danke: 1256

W10ent
TP3 .. D7pro .. D10.2CE
BeitragVerfasst: Do 20.01.11 18:53 
Moin!

user profile iconZlatan hat folgendes geschrieben Zum zitierten Posting springen:
Wie kann ich dieses oder ausdrücken, sodass der button bei zwei fragen richtig ist?
ausblenden Delphi-Quelltext
1:
2:
3:
if (Label1.Caption = '...'or (Label1.Caption = ',,,'then
  begin
    .....
cu
Narses

_________________
There are 10 types of people - those who understand binary and those who don´t.

Für diesen Beitrag haben gedankt: Zlatan