其实这样也就可以解决,如果你的Timage是按顺序来创建的话:<br>procedure Tform1.loadpic;<br>var i,k:integer;<br>begin<br>k:=0;<br> for i:=0 to Form1.ComponentCount-1 do<br> begin<br> if form1.Components is TImage then<br> begin<br> k:=k+1; //用它来存放Timage的序号<br> TImage(form1.Components).Picture.LoadFromFile('photo/fc00000'+inttostr(k)+'.jpg');<br> end;<br> end;<br>end;