MenuItem
Create a menu item that calls a block, opens a submenu, or separates groups of items.
Creating and freeing
Instance variables
MenuItemGetBlock
Return the block called when the item is selected
MenuItemGetCaption
Return the caption of the item
MenuItemGetCargo
Return the application data pointer stored on the item
MenuItemGetChecked
Return T when the item is checked
MenuItemGetEnabled
Return the enabled flag of the item
MenuItemGetId
Return the number that identifies the item
MenuItemGetMessage
Return the message shown when the item is current
MenuItemGetPopUp
Return the submenu opened when the item is selected
MenuItemGetShortcut
Return the shortcut key code of the item
MenuItemGetStyle
Return the check mark and submenu indicator of the item
MenuItemIsPopUp
Return T when the item opens a submenu
MenuItemSetBlock
Set the block called when the item is selected
MenuItemSetCaption
Set the caption of the item
MenuItemSetCargo
Store an application data pointer on the item
MenuItemSetChecked
Set whether the item shows a check mark
MenuItemSetEnabled
Set whether a regular item can be selected
MenuItemSetId
Set the number that identifies the item
MenuItemSetMessage
Set the message shown when the item is current
MenuItemSetPopUp
Set the submenu opened when the item is selected
MenuItemSetShortcut
Set the shortcut key code of the item
MenuItemSetStyle
Set the check mark and submenu indicator of the item