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

# TCustomTrayIcon.Visible

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

## Declaration

Source position: extctrls.pp line 1468

`public property TCustomTrayIcon.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.

Remark: | 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

TCustomTrayIcon.Show |  | Displays the icon in the System Tray.
TCustomTrayIcon.Hide |  | Removes the icon from the System Tray.