Sign in Join
FPDoc Onlineexperiment

TCustomTrayIcon.ShowIcon property

Member of TCustomTrayIconpublicIn unit ExtCtrls

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

Declaration

pascal
property ShowIcon: Boolean read FShowIcon write FShowIcon default True;

Description

ShowIcon is a Boolean property which indicates if the image in Icon is displayed when the control is redrawn. The default value for the property is True, and causes the widgetset class for the control to draw the image in Icon when the control is Visible. When set to False, it is assumed that the OnPaint event handler and Canvas are used to draw the Icon in application code.

The OnPaint event handler is not signalled on the Windows platform.

See also

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