DesktopApplication.AddTrayItem

From Xojo Documentation

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


DesktopApplication.AddTrayItem(Item as TrayItem) As Boolean

New in 2021r3

Supported for all project types and targets.

Adds the passed item to the System Tray via the TrayItem class.

Notes

AddTrayItem returns a Boolean that indicates success or failure. If it returns True, the TrayItem was added successfully. The System Tray is supported on Windows and Linux only. See the TrayItem class.

See Also

TrayItem class