[Overview][Types][Classes][Procedures and functions][Index] | Reference for unit 'ExtCtrls' (#lcl)

# TCustomTrayIcon.AnimateInterval

Defines the time interval between updates to the image for the tray icon.

## Declaration

Source position: extctrls.pp line 1457

`public property TCustomTrayIcon.AnimateInterval : Cardinal read GetAnimateInterval write SetAnimateInterval default 1000;`

## Description

AnimateInterval is a Cardinal property that defines the elapsed time interval between updates to the image displayed on the tray icon. The default value for the property is 1000 (milliseconds), and causes the animation timer to refresh the image on the tray icon every second.

Update the Icons property to contain the bitmap images displayed in the animation sequence.

Set Animate to True to enable the animation timer using the value in AnimateInterval when the control is Visible.

## See also

TCustomTrayIcon.Icons |  | Image list with the bitmaps used for an animated icon.
TCustomTrayIcon.Visible |  | Indicates if the tray icon is displayed in the system tray.
TTimer |  | TTimer is an elapsed timer useful in many applications.