我的一个PImage load了一个文件位图
我点的按钮,要把PImage清空,就是让那片区域回到以前什么都没load的样子
大侠help下

解决方案 »

  1.   

    1、先保存原图
      Image1.Picture.SaveToFile('C:\temp.bmp');
    2、再读入新图
      Image1.Picture.LoadFromFile('..\1.bmp');
    3、清空,即重新读入原图
      Image1.Picture.LoadFromFile('C:\temp.bmp');
      

  2.   

    PImage  ???? TImage 吧? 
      image1.Picture.Graphic := nil;
      

  3.   

    清空可用
        image1.Picture.Bitmap.FreeImage;