T tom12345 Unregistered / Unconfirmed GUEST, unregistred user! 2008-12-30 #1 如何在一个 panel 中动态增加 image,并设置 image的 picture 属性?
H hfghfghfg Unregistered / Unconfirmed GUEST, unregistred user! 2008-12-30 #2 var img:TImage; begin img:=TImage.Create(self); img.top:=1; img.Left:=1; img.Width:=100; img.Height:=100; img.Picture.LoadFromFile('c:/1.bmp'); img.Parent:=Panel1;
var img:TImage; begin img:=TImage.Create(self); img.top:=1; img.Left:=1; img.Width:=100; img.Height:=100; img.Picture.LoadFromFile('c:/1.bmp'); img.Parent:=Panel1;
T tom12345 Unregistered / Unconfirmed GUEST, unregistred user! 2008-12-30 #3 hfghfghfg, img.Picture.LoadFromFile('c:/1.bmp'); 出错,去掉后运行没反应。
S smlabc Unregistered / Unconfirmed GUEST, unregistred user! 2008-12-30 #4 img.Picture.Bitmap.LoadFromFile('c:/1.bmp');
W wqhatnet Unregistered / Unconfirmed GUEST, unregistred user! 2008-12-30 #7 我测试过了 很对 var img:TImage; begin img:=TImage.Create(self); img.top:=1; img.Left:=1; img.Width:=1000; img.Height:=1000; img.Picture.Bitmap.LoadFromFile('c:/1.bmp'); img.Parent:=Panel1; end; 记住C盘要有"'c:/1.bmp'"的
我测试过了 很对 var img:TImage; begin img:=TImage.Create(self); img.top:=1; img.Left:=1; img.Width:=1000; img.Height:=1000; img.Picture.Bitmap.LoadFromFile('c:/1.bmp'); img.Parent:=Panel1; end; 记住C盘要有"'c:/1.bmp'"的