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

TCustomTrayIcon.Icon

The Icon or picture that displayed on the tray icon.

Declaration

Source position: extctrls.pp line 1464

public property TCustomTrayIcon.Icon : TIcon
  read FIcon
  write SetIcon;

Description

Icon is a Icon property with the static icon displayed in the system tray for the control.

Use Icons to assign the bitmap images displayed as an animation sequence when Animate is set to True.

Use ShowIcon to indicate whether the Icon is displayed for the control. This feature is platform-specific. Use the OnPaint event handler and Canvas to perform drawing operations for the tray icon when ShowIcon is set to False.

See also

TCustomTrayIcon.OnPaint

  

Event handler signalled to implement custom drawing for the tray icon.

TCustomTrayIcon.Canvas

  

Canvas for the class instance.

TCustomTrayIcon.Icons

  

Image list with the bitmaps used for an animated icon.

TCustomTrayIcon.Animate

  

Indicates if animations are displayed on the tray icon.

TCustomTrayIcon.ShowIcon

  

Indicates whether the Icon is drawn by the control (in its widgetset class).

TIcon

  

Implements an icon image type; small images typically associated with applications, controls, etc.


Version 4.0 Generated 2025-05-03 Home