Autor Beitrag
Hux
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 171



BeitragVerfasst: Fr 07.10.05 10:19 
Hoi...,

Wie kann ich mit einer FOR-Schleife auf die Komponenten zugreifen.
(Gut..., die Frage is nich gerade gut formuliert.)
Bsp:
ausblenden Delphi-Quelltext
1:
2:
3:
for i:=0 to 100 do begin
label+i+.Caption:= IntToStr(i);
end;


Das funktioniert nicht.
Kann mir einer helfen???

Danke im Vorraus...

Der Hux
Christian S.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 20451
Erhaltene Danke: 2264

Win 10
C# (VS 2019)
BeitragVerfasst: Fr 07.10.05 10:25 

_________________
Zwei Worte werden Dir im Leben viele Türen öffnen - "ziehen" und "drücken".
Hux Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 171



BeitragVerfasst: Mi 12.10.05 15:10 
Danke, hab die Antwort gefunden!
Amateur
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 777

(Win98, WinMe) WinXP Prof
D3 Prof, D6 Pers, D2k5 Pers., Turbo C++ Explorer
BeitragVerfasst: Mi 12.10.05 15:23 
array der objekte und selbst erstellen oder findcomponent() wären wohl die besten lösungen!

_________________
"Kein dummes Gerede. Kein Rumrätseln. Denkt an nichts anderes mehr, nur noch an das, was vor euch liegt. Das ist die wahre Herausforderung. Ihr müßt euch vor euch selbst schützen, Leute." (Rennes in "Cube")
Beiträge: >700