Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Sonstige Fragen zu Delphi (https://www.delphipraxis.net/19-sonstige-fragen-zu-delphi/)
-   -   Delphi Cooltrayicon animation laeuft nicht durch. (https://www.delphipraxis.net/58461-cooltrayicon-animation-laeuft-nicht-durch.html)

lucius 7. Dez 2005 12:58


Cooltrayicon animation laeuft nicht durch.
 
Hallo Leute,

Ich habe mein Cooltrayicon eine Imagelist zugewiesen damit ich ne Animation simulieren kann waehrend ein Process.
Jetzt lauft die Animation wohl aber Sie startet nicht sofort und bleibt ab und zu haengen waehrend des Proceses, ich habe schon Application.Processmessages mit in den Code eingefueght aber es laeuft trotsdem noch nicht so 100 Procentig.
Delphi-Quellcode:
procedure THaupt.ActionClick(Sender: TObject);
begin
Application.Processmessages
  Screen.Cursor := crHourGlass;
  Cooltrayicon1.IconList := Imagelist1;
  Cooltrayicon1.CycleInterval := 100;
  Cooltrayicon1.CycleIcons := true;
......
Code ausfuehrung..
......
  Screen.Cursor := crDefault;
  Cooltrayicon1.CycleInterval := 0;
  Cooltrayicon1.CycleIcons := false;
  Cooltrayicon1.IconList := nil;
Kann ich noch was anderes machen damit die Animation sauber ablaeuft?

MFG Lucius.


Alle Zeitangaben in WEZ +1. Es ist jetzt 12:27 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