Method XbpToolBarButton():delItem() Foundation

Removes a menu item from a tool bar button's drop-down menu.

Syntax
:delItem( <nItem> | <cItemKey ) => self
Parameters
<nItem>
<nItem> is a numeric value that specifies the ordinal position of the menu item to be removed. Item positions are counted beginning from one.
<cItemKey>
The item to be removed may also be specified using its unique identifier. For this, a character string must be passed in parameter <cItemKey>.
Return

The method :delItem() returns the object executing the method (self).

Description

The method :delItem() can be used by an Xbase++ application to remove a menu item from a tool bar button's drop-down menu. The item to be removed may be specified using either its ordinal position or key. Addressing the item via it's unique key string is recommended for better source code readability and easier code maintenance.

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.