Autor Beitrag
McKinley
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 24

Win XP
Borland Delphi 6
BeitragVerfasst: Do 04.05.06 09:36 
Hallo,

ich habe folgendes:
ausblenden Delphi-Quelltext
1:
2:
3:
case Theorie1 of
0..29: lbl30.Caption:='Teil1 hat weniger 30%';
else

Es soll aber ebenfalls bei 0..29 noch eine weitere Anweisung ausgeführt werden:
ausblenden Delphi-Quelltext
1:
lblTheorieAuswertung.Caption := '';					

Hab schon einiges probiert, aber irgendwie will das nicht funktionieren.

Kann mir da jemand weiter helfen?

Danke schonmal für eure Antworten.
starsurfer
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 334

Win 95, Win 98, Win XP, Win Vista, Linux
D5 Enterprise ,D2005, D6 Personal, Visual C++ Express 2005, C++ Builder 6 E, Dev-C++
BeitragVerfasst: Do 04.05.06 09:38 
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
case Theorie1 of  
0..29: begin
       lbl30.Caption:='Teil1 hat weniger 30%';
       //hier gehts weiter
       end;  
else


begin und end helfen immer :D

_________________
GEIZ IST GEIL! - Ihr Sozialamt
McKinley Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 24

Win XP
Borland Delphi 6
BeitragVerfasst: Do 04.05.06 10:00 
user profile iconstarsurfer hat folgendes geschrieben:
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
case Theorie1 of  
0..29: begin
       lbl30.Caption:='Teil1 hat weniger 30%';
       //hier gehts weiter
       end;  
else


begin und end helfen immer :D


Danke, funzt wunderbar. Ich wusste nicht, dass man das mit Begin/End so machen kann. :zustimm: