TCustomTrayIcon.Hide function
Removes the icon from the System Tray.
Declaration
function Hide: BooleanDescription
Hide is a
Boolean function used to hide the tray icon
and to remove it from the tray area in the task bar.
No actions are performed in the method when Visible is set to
False, or at design-time, or when the component is loaded from the LCL
streaming mechanism.
Hide sets the value in the Visible property to False, and
calls the namesake method in the WidgetSetClass. The internal
animation timer for the tray icon is also disabled in the method.
The return value is True when the tray icon is successfully hidden. For other conditions, the return value is False.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
