ItemInfo
A table of information about the currently selected item, indexed by the following keys:
KEY |
TYPE DESCRIPTION |
|
ID |
number |
The numeric ID of the menu item. |
Text |
string |
The text of the menu item. Note that a separator item's Text is set to "---". |
IconID |
number |
The 0-based icon index from the Image List specified on the Menu Bar for the menu item. |
Enabled |
boolean |
Whether the menu item is enabled. |
Checked |
boolean |
Whether the menu item is checked. |
SubTable |
table |
A numerically indexed table of menu item tables if child elements exist, or nil if no child elements exist. |