05-11-2010, 09:33 PM
استخدم Gif
http://www.delphi4arab.net/forum/showthread.php?tid=298
http://www.delphi4arab.net/forum/showthread.php?p=6542
...
بالتوفيق.
http://www.delphi4arab.net/forum/showthread.php?tid=298
http://www.delphi4arab.net/forum/showthread.php?p=6542
...
PHP كود :
uses
AxCtrls; //You can open JPEG, GIF, ICO and others... on TImage
procedure LoadPicture(ImageFileName: string; Picture: TPicture);
var
OleGraphic: TOleGraphic;
fs: TFileStream;
begin
OleGraphic := TOleGraphic.Create;
fs := TFileStream.Create(ImageFileName, fmOpenRead or fmSharedenyNone);
try
OleGraphic.LoadFromStream(fs);
Picture.Assign(OleGraphic);
finally
fs.Free;
OleGraphic.Free
end;
end;
procedure TForm1.Button1Click(Sender: TObject);
begin
LoadPicture('D4A.gif', Image1.Picture);
end;

