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

# TCustomTrayIcon.Show

Displays the icon in the System Tray.

## Declaration

Source position: extctrls.pp line 1451

`public function TCustomTrayIcon.Show: Boolean;`

## Description

Show is a Boolean function used to display the tray icon in the system tray. The return value is True if the control is successfully displayed in the method, or the control is already visible. No additional actions are performed in the method when Visible is already set to True.

The return value is always False at design-time. At run-time, the InternalShow method is called to display the control (with delayed loading) and to set the state for the internal animation timer to the value in Animate.

Show is called when the value for the Visible property is changed to True.

## See also

TCustomTrayIcon.Animate |  | Indicates if animations are displayed on the tray icon.
TCustomTrayIcon.Visible |  | Indicates if the tray icon is displayed in the system tray.