The menuitem object of the menu object allows us to manipulate each item in the menu. The menuitems are what give functionality to the menu |
Each new menuitem is contained in its parent menu. Hence creating a new menuitem involves adding it to a specific menu. |
Some methods / Properties of the Menu object which will be used frequently are : |
Add -- Adds a menu to its parent object i.e.. Menubar |
Delete -- Deletes a menu from a menubar. |
Enabled -- Enables a specific menu. |
Caption -- Sets the caption of the menu |