Method XbpMenuBar():delItem() Foundation

Deletes a single menu item from a menu.

:delItem( <nItemIndex> ) --> lSuccess
<nItemIndex> is a numeric value specifying the ordinal position within the menu of the menu item deleted.

This method returns the value .T. (true) when the menu item could be deleted from the menu, otherwise .F. (false) is returned.


The :delItem() method allows individual menu items to be deleted from a menu. This allows the menu to be dynamically changed after it has been created.


If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.