Classes

Method XbpMenuBar():numItems() Foundation

Returns the number of menu items in the menu object.

Syntax
:numItems() --> nItemCount
Return

This method returns the number of menu items contained in the menu object as a numeric value.

Description

The :numItems() method determines how many menu items are contained in the menu object. This method returns a count of all menu items, even those that do not cause any action such as separating lines.

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.