JVCL Help:TJvTrayIcon.OnAnimate

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Occurs when TJvTrayIcon changes the tray icon.


Pascal

 TAnimateEvent = procedure (Sender: TObject; const ImageIndex: Integer) ofobject;
propertyOnAnimate: TAnimateEvent;


Parameters

Parameters Description
ImageIndex The new index of the icon in the image list specified by Icons.
Sender The TJvTrayIcon component that has sent this event.


Description

Write an OnAnimate event handler to take specific action whenever TJvTrayIcon changes the tray icon in response to animate events. When Animated is set to true, TJvTrayIcon iterates through the icons in the image list specified by Icons and displays each icon in that list - one at a time - in the notification area. Property Delay specifies the amount of time each icon is shown in the tray. Each time the specified time passes, TJvTrayIcon changes the tray icon to the next icon in the image list, and an OnAnimate event occurs.


See Also

TJvTrayIcon.Animated, TJvTrayIcon.Delay, TJvTrayIcon.IconIndex, TJvTrayIcon.Icons


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page