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

# TCustomTrayIcon.Icons

Image list with the bitmaps used for an animated icon.

## Declaration

Source position: extctrls.pp line 1465

`public property TCustomTrayIcon.Icons : TCustomImageList read FIcons write SetIcons;`

## Description

Icons is a TCustomImageList property with the bitmap images displayed for an animated icon. Icons is used when the Animate property is set to True.

Setting a new value for the property causes the widgetset class to be updated when the control is Visible. The current animation step (or frame) is reset to 0 to prevent an index out-of-bounds exception.

Use Icon to set the single image displayed on the tray icon when Animate is set to False.

## See also

TCustomTrayIcon.Icon |  | The Icon or picture that displayed on the tray icon.
TCustomTrayIcon.ShowIcon |  | Indicates whether the Icon is drawn by the control (in its widgetset class).
TCustomTrayIcon.Animate |  | Indicates if animations are displayed on the tray icon.
TCustomTrayIcon.AnimateInterval |  | Defines the time interval between updates to the image for the tray icon.
TCustomImageList |  | The base class for TImageList.