Method XbpToolBar():delItem() Foundation

Removes an item (button) from the XbpToolBar object.

Syntax
:delItem( <nItem> | <cItemKey ) => self
Parameters
<nItem>
<nItem> is a numeric value that specifies the ordinal position of the tool bar button 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 button from a XbpToolBar object. 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.