Sign in Join
FPDoc Onlineexperiment

TCustomTrayIcon.Visible property

Member of TCustomTrayIconpublicIn unit ExtCtrls

Indicates if the tray icon is displayed in the system tray.

Declaration

pascal
property Visible: Boolean read FVisible write SetVisible default False;

Description

Visible is a Boolean property which indicates if the control is displayed in the system tray. The default value for the property is False.

The value for the property is updated in methods where the control is displayed or hidden. It is set to True in the private InternalShow method, and to False in the Hide method. Setting a new value for the property causes the Show or Hide method to be called depending on the new property value.

The value in Visible may continue to be False after calling the Show method; it must be successfully displayed by the widgetset class before the property is set to True.

See also

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