Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Multimedia (https://www.delphipraxis.net/16-multimedia/)
-   -   Delphi Delphix TAnimation (https://www.delphipraxis.net/23883-delphix-tanimation.html)

Resistance 11. Jun 2004 11:37


Delphix TAnimation
 
Hallo Leute,

habe folgendes Problem: Wenn ich eine Instanz der Klasse TAnimation instanziere bekomme ich die Fehlermeldung, dass TAnimation ein undefinierter Bezeichner ist ?
Habe Delphix, glaube ich zumindest, korrekt installiert ;)
Ist das vielleicht noch eine selbständige Komponente die ich noch seperat installieren muss ?

Gruß, Phillip

NicNacMan 11. Jun 2004 12:49

Re: Delphix TAnimation
 
hast du denn TAnimation vorher richtig deklariert?

Delphi-Quellcode:
type
  TAnimation = class(TImageSprite);

var
  Animation: TAnimation;

...

procedure TForm1.FormCreate(Sender: TObject);
begin
  Animation := TAnimation.Create(DXSpriteEngine1.Engine);
  ...
end;


Alle Zeitangaben in WEZ +1. Es ist jetzt 20:01 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz