小问题:一个TIMAGE现在显示了一个图象,我要如何再让它不显示图象呢?(20分)

  • 主题发起人 主题发起人 lyj.hm
  • 开始时间 开始时间
L

lyj.hm

Unregistered / Unconfirmed
GUEST, unregistred user!
我用下面的语句显示了一个图象,我想现在再把显示的图象清除,该怎么写呀?
//显示图象
ImgPhoto.Picture.Loadfromfile(ExtractFilePath(Application.ExeName) + 'zp.bmp');
 
imgphoto.picture.bitmap.FreeImage;
or
imgphoto.picture:=nil;
 
ImgPhoto.Picture.Assign(nil)
 
多人接受答案了。
 
后退
顶部