TrayMenu

TATrayMenu

Creates a TrayMenu “virtual control” on the form.

Properties:
IconAssign an image to control. This will open Picture editor.
IconDebugEnable showing debug information in tray icon tooltip.
ItemsThis property contains tree of MenuItems.
MouseClickSet of flags that defines traymenu behaviour in reaction to mouse clicks/moving. Default value is mcPriPress + mcSecPress (menu shown by single clicking primary or secondary buttons).
NameUnique name of control, this defines the name of variable where control ID will be kept. It also can be empty, when no variable will be created.
ShowStdMenuIf enabled, standard AutoIt menu will be shown despite generation of menu code, or not.

Remarks:

TrayMenu is a substitute control.

Tray menu is not GUI functions exactly, but as its methods are similar to main and context menus, Koda can create and generate code for it.

When creating, tray menu automatically assigns to form.

Related:

Menu, ContextMenu