Forum: Object-Pascal / Delphi-Language
Delphi
by Hallo_Thomas,
3. Mai 2005
@Sharky es gibt keine Fehlermelung
So hab jetzt mal mein Beispielprogramm so eingestellt das es genau den Fehler macht
Die 10 Zahlen rechts unten sollen die Counter darstellen die eigenlich Zählen müssten
Forum: Object-Pascal / Delphi-Language
Delphi
by Hallo_Thomas,
3. Mai 2005
@Khabarakh
hab das probiertt, funkt nich
begin
for i := 0 to Form1.Anzeige.Count - 1 do
begin
s := Form1.Anzeige.Items;
case s of
'0'..'6':
Forum: Object-Pascal / Delphi-Language
Delphi
by Hallo_Thomas,
3. Mai 2005
meinst Du so
begin
i:=0 ;
for i:=0 to 9 do
Counte:=0;
aber wird i nicht durch
for i:=0 to 9 do
Forum: Object-Pascal / Delphi-Language
Delphi
by Hallo_Thomas,
3. Mai 2005
@freak4fun
Du hast rechts einen "stabilen Wert", was bei mir ja nicht der Fall ist, diese Array will nicht harmonieren mit meinem zeugs.
Forum: Object-Pascal / Delphi-Language
Delphi
by Hallo_Thomas,
3. Mai 2005
Also so sieht der Spass ganz aus, wo ich die Labels einzeln angegangen bin(siehe oben) hats geklappt
begin
for i:=0 to 9 do
Counte:=0;
for pl0 := Form1.Anzeige.count-1 DownTo 0 do
begin
Forum: Object-Pascal / Delphi-Language
Delphi
by Hallo_Thomas,
3. Mai 2005
Nein, die Labels
funktionieren auch nicht bei
(FindComponent('form1.Label'+IntToStr(i)) as TLabel).Caption:=IntToStr(Counte);
Forum: Object-Pascal / Delphi-Language
Delphi
by Hallo_Thomas,
3. Mai 2005
Ich habe jetzt schon eine versuche hintermir, haber wie schaffe ich es unten den Text zsammenzufassen?
die Lange Form
Form1.Label192.Caption:= IntToStr(Counte) ;
Form1.Label193.Caption:= IntToStr(Counte) ;
Form1.Label194.Caption:= IntToStr(Counte) ;
Form1.Label195.Caption:= IntToStr(Counte) ;