D
dorry
Unregistered / Unconfirmed
GUEST, unregistred user!
如下例程:uses GIFImg;procedure TForm1.FormCreate(Sender: TObject);begin // 先在窗体上放一个 TImage 组件:Image1; Image1.Picture.LoadFromFile('C:/Example.gif'); // AnimationSpeed 设定动画速度,值越大,速度越快; TGIFImage(Image1.Picture.Graphic).AnimationSpeed := 500; TGIFImage(Image1.Picture.Graphic).Transparent:=true;//不起作用????? TGIFImage(Image1.Picture.Graphic).Animate := True;end;