MenuItem Object Properties
Name |
Description |
Action |
Designates the action associated with the menu item. |
AutoCheck |
Indicates whether the menu item's checked state toggles automatically when the item is clicked. |
AutoHotkeys |
Determines whether the accelerator keys for submenu items can be reset automatically. |
AutoLineReduction |
Determines whether redundant separator bars are automatically removed from the submenu. |
BMPData |
Bitmap data for data imported into macro. Use LabelToVariable to get a variable to set this property to. |
Break |
Determines whether the menu item starts a new column in the menu. |
Caption |
Specifies the text of the menu item. |
Checked |
Specifies whether a check mark should appear beside the Caption. |
Default |
Specifies whether the menu item is invoked when the parent item is double clicked. |
Enabled |
Specifies whether the menu item is enabled. |
GroupIndex |
Identifies the logical group to which the menu item belongs. |
HelpContext |
Specifies the help context ID associated with the menu item. |
Hint |
Specifies the text string that can appear when the user moves the mouse pointer over a menu item. |
ImageIndex |
Indicates which image maintained by the parent menu appears next to the menu item. |
LoadBitmap |
Loads bitmap from file. Specify filename of bitmap to show against menu item. Right click in properties grid to select "File Browse" option to locate a bitmap file. Note that the image data is loaded statically into and stored in the dialog. To link dynamically assign a filename to LoadBitmap at runtime. |
Name |
Specifies the name of the component as referenced in code. |
RadioItem |
Specifies whether the menu item is mutually exclusive with other menu items in its group. |
ShortCut |
Specifies the key combination users can type to quickly access the menu item. |
SubMenuImages |
Lists the images that can appear beside individual items in a submenu of this menu item. |
Tag |
Stores an integer value as part of a component. |
Visible |
Specifies whether the menu item appears in the menu. |