cheesemunger
Programmer
- Jul 6, 2007
- 11
ok, I have this code. It used to work but it now doesn't. After i put in the
the whole code is here:
Thanks
Code:
if number = (1)or(2)or(3)or(4)or(5)or(6)or(7) then
begin
imagename := 'Bullet' + IntToStr(number);
Bullet := FindComponent( imageName ) as TImage;
end;
if number = 8 then
begin
imagename := 'Bullet' + '1';
Bullet := FindComponent( imageName ) as TImage;
end;
the whole code is here:
Thanks