我的一组image是数组形式:image[x][y]。
 在界面上显示两幅图像时,我想但多一幅进行操作,应怎么写?

解决方案 »

  1.   

    我的描述不知清楚不清楚,是多幅显示时出现的问题
     例如我要放大一幅图像,
      
     image[x][y].height:=q*2;
     image[x][y].width:=q*2;
    上面这种写法对吗?应咋写?
      

  2.   

    具体的生成image的代码:
       for x:=1 to j do 
        begin
         for y:=1 to b do 
         begin
          image[x][y]:=timage.create(self);
          image[x][y].parent:=panel2;
          image[x][y].picture.loadfromfile(); 
          image[x][y].top:=
          image[x][y].left:=
         end;
        end;
    后多幅显示。
     我想问的是,当我在窗体上显示两幅图像,想多其中的任一幅进行操作,应如何表示这image
      

  3.   

    ArrImage : Array of TImage ;
      
      ArrImage[i].Left := ... ;
      

  4.   

    应该一样的ArrImage[i][j].Left := ... ;
      

  5.   

    谢谢。
    能否帮我看一下这个问题:http://expert.csdn.net/Expert/topic/1417/1417625.xml?temp=.065777