|
<< Index >> |
FutureBasic |
menu | statement | |
|
Parameter |
Description |
menuIndex |
Menu indexes in the range 0 - 100 are reserved for the menubar menus. Menus with indexes greater than 100 are stored for later use in hierarchical menus, popupbutton menus, etc. |
itemIndex | The index of the menuitem. When creating or altering the menu itself, omit this parameter. |
enabled | A boolean value which enables or disables the menuitem. |
title | The title of the menu or menuitem. |
keyEquivalent | The keyEquivalent of the menuitem. |
keyEquivalentModifier | Modifier masks can be combined using the '+' character: NSShiftKeyMask NSControlKeyMask NSAlternateKeyMask NSCommandKeyMask NSNumericPadKeyMask NSHelpKeyMask NSFunctionKeyMask |
Apple documentation
NSMenu
NSMenuItem