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

# TCustomTrayIcon.Animate

Indicates if animations are displayed on the tray icon.

## Declaration

Source position: extctrls.pp line 1456

`public property TCustomTrayIcon.Animate : Boolean read FAnimate write SetAnimate default False;`

## Description

Animate is a Boolean property that indicates if the tray icon is displayed as an animation.

The default value for the property is False. Set Animate to True to enable the internal animation timer using the interval in AnimateInterval, and to start the animation sequence using the images stored in the Icons property. Setting Animate to True does not enable the animation timer if the control is not Visible.

Use the Icon property to set the TIcon instance displayed when Animate is set to False.

## See also

TCustomTrayIcon.AnimateInterval |  | Defines the time interval between updates to the image for the tray icon.
TCustomTrayIcon.Visible |  | Indicates if the tray icon is displayed in the system tray.
TCustomTrayIcon.Icon |  | The Icon or picture that displayed on the tray icon.
TCustomTrayIcon.Icon |  | The Icon or picture that displayed on the tray icon.