Autor Beitrag
JungerIslaender
ontopic starontopic starontopic starofftopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 427
Erhaltene Danke: 5

Win XP
Delphi 7; Delphi 2005
BeitragVerfasst: Fr 08.05.09 21:57 
Hi folgender Quellcode funktioniert nicht(was ich mir schon gedacht hatte :D) allerdings drückt er gut mein problem aus.

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
 
for i:= 0 to 10 do
  begin
  Button[i].Caption:='Blubb';
  end;


In diesem Fall 10 Buttons, wie kann ich über eine schleife die Eigenschaften verändern damit ich nicht jeden Button einzelnd verändern muss.

Außerdem wie ist es möglich während der Laufzeut des Programms Buttons zuerzeugen?


Moderiert von user profile iconNarses: Topic aus Sonstiges (Delphi) verschoben am Sa 09.05.2009 um 12:03
Xentar
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2077
Erhaltene Danke: 2

Win XP
Delphi 5 Ent., Delphi 2007 Prof
BeitragVerfasst: Fr 08.05.09 22:01 
Das Thema ist sogar noch in den Top10...
www.delphi-forum.de/viewtopic.php?t=92122

Zur zweiten Frage:
www.delphi-treff.de/...it-erstellen/page/1/
ansonsten neuen Thread aufmachen.

_________________
PROGRAMMER: A device for converting coffee into software.
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19341
Erhaltene Danke: 1752

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Fr 08.05.09 22:01 
Ich vermute du suchst FindComponent...
(Herzlichen Glückwunsch, du bist ca. der 1000ste, der danach gefragt hat...)

Und zum Erzeugen:
www.delphi-forum.de/...n+dynamisch+erzeugen
www.delphi-library.d...dynamisch%20erzeugen
...
JungerIslaender Threadstarter
ontopic starontopic starontopic starofftopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 427
Erhaltene Danke: 5

Win XP
Delphi 7; Delphi 2005
BeitragVerfasst: Fr 08.05.09 22:18 
THX Aber liber einmal (1000) dumm nachgefragt als sich nicht weiter zubilden. Außerdem hast du ja jetzt jemanden mehr der die antwort kennt und in zukunft darauf verweisen kann^^