I think most people just use the taskbar for that.
> There is an option to use Animated files in Design time.
> I need to be able to set this up at run time does anyone know how to do
> this.
What steps do you take to set it up at design time? Which of those steps
are you having trouble doing at run time?
I've only just seen the class declarations, and I don't feel like
reading the definitions. I see the TRxTrayIcon component has a few
properties, including Animated: Boolean, Icons: TIconList, and Interval:
Word.
If I had to guess, I'd say that you're supposed to create one icon for
each frame of the animation you want -- since a single icon cannot
actually be animated in Windows -- and put those icons in the Icons list
property. Then you set Interval to the amount of time the component
should wait before registering each frame with the shell. Finally, set
the Animated property to start the cycling.
--
Rob
The component at design time allows you to a ".ani" file
to load the icons.
However I cannot see any reference to these type files or loading them
anywhere.
Kind Regards,
Robert.
"Rob Kennedy" <m...@privacy.net> wrote in message
news:4848cc6a$1...@newsgroups.borland.com...
I suppose there's a special property editor for the Icons property.
That's of type TIconList. Look in the rxIcoLEdit unit and you'll see the
property editor. The function named LoadAniFile looks promising. It
instantiates a class named TAnimatedCursorImage, loads the file, and
assigns the object to the TIconList object.
--
Rob