1 | Some methods / Properties of the Menu object which will be used frequently are : |
2 | |
3 | Add - Adds a submenu to its parent menu |
4 | Delete - Deletes a submenu from a menu |
5 | Caption - Sets the caption of a menuitem, |
6 | Delete - Deletes the menuitem from the menu |
7 | Enabled - Enables/ Disables the menuitem |
8 | OnAction - Attaches to the item a subprocedure to be executed if the menuitem is selected |
9 | StatusBar - Sets or returns the text in the Status Bar when mouse moves over item |