Method XbpMenuBar():delItem() Foundation

Deletes a single menu item from a menu.

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

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

Description

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.

Feedback

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.