怎样判断一个Image控件里是否有图片!(5分)

C

cjsh

Unregistered / Unconfirmed
GUEST, unregistred user!
请各位帮帮忙,先谢了,在线给分,有效期到今天中午
 
if Image1.Picture.Graphic = nil then ShowMessage('nil');
 
up一下也行,赶快来呀,我要收贴了
 
IF assigned(image1.picture.bitmap) then
 
同意楼上!
 
If Image1.Picture.Graphic.Empty Then ......
 
多人接受答案了。
 
顶部