Autor Beitrag
fcg
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 360

WinXP
D3 Prof, D6 Pers
BeitragVerfasst: Di 31.12.02 17:49 
hallo ihr

mein problem (hoffe ihr versteht es): ich erzeuge in einer for schelife 5 images mit unterschiedlichem inhalt in der prozedure eines buttons.

ausblenden Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
for i:=0 to 5 do
 begin
  my:=TImage.create(self);
  my.parent:=scrollbox1;
  my.stretch:=true;
  my.name:='bild'+IntToStr(vtop);
  my.picture.loadfromfile(listbox1.items[i])
  my.top:=vtop;
  vtop:=vtop+100;
 end;


nun möchte in einer zweiten procedure zwei der drei bilder wieder löschen. meine frage ist un. wie greiffe ich auf die images, (die ja laufend bild+ 20,40 etc) nummeriert sind zu????

dankeschön und
guten rutsch 8)

_________________
.: Wer für alles offen ist, kann nicht ganz dicht sein! :.
AndyB
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1173
Erhaltene Danke: 14


RAD Studio XE2
BeitragVerfasst: Di 31.12.02 18:22 
Schau dir mal FindComponent in der Online Hilfe an.

_________________
Ist Zeit wirklich Geld?