Delete/Remove Menu?

Archives Forums/BlitzPlus Programming/Delete/Remove Menu?

turtle1776(Posted 2004) [#1]
Does anyone know how to delete/remove/free a menu item once it has been created?

I have created a rudimentary bookmarks menu for an html gadget, and I add a menu item every time a new bookmark is added. But I don't know how to remove a menu item if the user wants to delete one of those bookmarks.

VIP3R(Posted 2004) [#2]
I don't think this is possible with the B+ command set, it maybe possible with userlibs though?

One way of doing it is to use SetMenuText menuitem,"" where menuitem is the item you want to remove. This works but a separator appears where the menu item was, so it probably won't be of much use.