img1.Transparent :
=
True;
with img1.Picture.Bitmap do
begin
TransparentColor : = clWhite;
TransparentMode : = tmFixed;
end ;
with img1.Picture.Bitmap do
begin
TransparentColor : = clWhite;
TransparentMode : = tmFixed;
end ;
转载于:https://www.cnblogs.com/allegro/archive/2011/01/25/1944679.html