Sign in Join
FPDoc Onlineexperiment

TCustomTrayIcon.Icon property

Member of TCustomTrayIconpublicIn unit ExtCtrls

The Icon or picture that displayed on the tray icon.

Declaration

pascal
property 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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.