Method XbpToolBar():numItems() Foundation

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

Syntax
:numItems() => nItems
Return

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

Description

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.

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.