Autor Beitrag
xX..a.b.c..Xx
Hält's aus hier
Beiträge: 13



BeitragVerfasst: Sa 19.07.08 14:08 
Ich möchte während einer wartezeit eine gif-animation auf dem formular anzeiegen lassen geht das?
_frank_
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 343
Erhaltene Danke: 1

Win XP
Delphi 3 Prof / Turbo Delphi Explorer
BeitragVerfasst: Sa 19.07.08 14:47 
imho kann das TGifImage, die Jedi-Gif-Komponenete und eine aus der RXLib
einfach mal danach suchen

HTH Frank

_________________
EB FE (die wahrscheinlich kürzeste Endlosschleife der Welt :) )
BA 01 00 00 00 52 EB 09 BB 4D 11 86 7C FF D3 EB 0D E8 F2 FF FF FF 63 68 61 72 6D 61 70 00 C3
alias5000
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2145

WinXP Prof SP2, Ubuntu 9.04
C/C++(Code::Blocks, VS.NET),A51(Keil),Object Pascal(D2005PE, Turbo Delphi Explorer) C# (VS 2008 Express)
BeitragVerfasst: Sa 19.07.08 14:54 
Aufpassen bzw. nicht wundern. Es gibt mehrere TGifImage-Komponenten. Die aus der JVCL verwende ich und bin ganz zufrieden damit

_________________
Programmers never die, they just GOSUB without RETURN
delphi10
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 447
Erhaltene Danke: 2

W2K, XP, Vista64, Win7 64
RAD-Studio 2010
BeitragVerfasst: Sa 19.07.08 18:19 
Das (oder die) GIF-File(s) in eine RES-Datei packen
Feuer RCDATA N:\Pfad........\Feuer.gif
dann so weiter:
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
type
Image4: TImage;
-------------------------

   Procedure TTop.GetGif(ResName:String; IMG:TImage);
   var bild : TGIFImage;
       ResStream : TResourceStream;
   begin
     bild := TGIFImage.Create;
     resstream := TResourceStream.Create(hInstance, ResName, RT_RCDATA);
     bild.LoadFromStream(ResStream);
     Img.Picture.Assign(bild);
     bild.free;
     ResStream.free;
   end;

--------------------------
   Top.GetGif('Feuer',Top.Image4);

oder einfacher mit dem Objectinspector.
Gruß Delphi10

_________________
Salus populi suprema lex esto