Method XbpMenuBar():getItem() Foundation

Returns the specified menu item from the menu object.

:getItem( <nItemIndex> ) --> aItem
<nItemIndex> is a numeric value indicating the ordinal position within the menu object of the menu item returned.

This method returns an array containing four elements. These elements provide information about the specified menu item.


The :getItem() method returns a specific menu item from a menu object. The menu item is returned as an array of four elements. This array has the same structure as the array passed to the :addItem()method. For more information on the individual array elements see the discussion of the :addItem() method.


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.