- Foreword
- Basics
- Interface
- Menu
- File
- Import
- Edit
- View
- Options
- Options
- Tools
- Help
- Windows & Dialogs
- Controls
- Standard
- Additional
- Win32
-
- Property Editors
- Appendices
{|class=“cboxtable”
class=“cboxcell1” |
class=“cboxcell2” |
Creates a tray menu. To Koda, a tray menu is a substitute control.
See the tutorial Creating a menu control
#remarks_header[Properties:]#
Icon | Specifies an image to display in system tray. Double_click to the right to open Picture editor |
IconDebug | Enables showing debug information when mouse hovers over icon in system tray |
Items | Tree of html_wikilink('control_menuitem','MenuItems'). Double-click to the right to open html_wikilink('proped_menu_builder','') |
MouseClick | Mouse events that cause menu to show. Click on + to expand mcPriPress - Primary button down mcPriRelease - Primary button up mcPriDblClick - Primary button double-click mcSecPress - Secondary button down mcSecRelease - Secondary button up mcSecDblClick - Secondary button double-click mcMouseOver - mouse hovers over icon Default: mcPriPress + mcSecPress |
Name | Name of control and of the variable that is assigned its control ID in generated code. If not specified, no variable is generated |
ShowStdMenu | If True, adds Script paused and Exit to menu |
#remarks_header[Remarks:]#
While AutoIt does not call tray menu functions GUI… functions, their methods are sufficiently similar to those for main and context menus that tray menus can be created and generated by Koda.
A tray menu is automatically attached to a form when created.
#remarks_header[Related:]#