Skip to content

TElectronTrayIcon

Description

Below is a list of the most important properties and events for TElectronTrayIcon. This component allows to add a tray icon with an optional popup menu to the application.

Designtime Runtime

Properties for TElectronTrayIcon

Property Description
IconPath: string Sets the path to the icon.
IconURL: string Base64 encoded string that represents the icon.
Menu: TElectronPopupMenu Sets the menu to be shown when the tray icon is clicked.
ToolTip: string Sets the tooltip text.

Events for TElectronTrayIcon

Property Description
OnClick Triggered when the mouse is clicked on the tray icon.