Deletes a menu or a menu option.
// Delete the "OPT_Exit" option from the "FileMenu" menu
MenuDelete(FileMenu.OPT_Exit)
Syntax
<Menu name>: Character string
Name of the menu to delete.
<Option name>: Character string
Name of the menu option to delete, in the following format: "<Menu name>.<Option name>".This option will be permanently deleted from the menu.
Deleting a menu option by its index Hide the details
MenuDelete(<Menu name> , <Option rank>)
<Menu name>: Character string
Name of the menu containing the option to delete. It can be a main menu or a popup menu.
<Option rank>: Integer
Rank of the option to delete from the menu (the ranks start from 1).This option will be permanently deleted from the menu.