Method XbpToolBar():numItems() Foundation

Returns the number of tool bar items (buttons) defined for an XbpToolBar object.

:numItems() => nItems

:numItems() returns a numeric value with the number of buttons currently defined for the XbpToolBar object executing the method.


After an XbpToolBar object is created, the method :numItems()can be used to determine the number of tool bar buttons defined. The item count increases each time a new item is added using :addItem(), and decreases each time :delItem() is called.


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.