From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

DesktopApplication.RemoveTrayItem(Item as TrayItem)

New in 2021r3

Supported for all project types and targets.

Removes the passed item from the System Tray via the TrayItem class. The System Tray is supported on Windows and Linux only. See the TrayItem class for an example.