Class XbpToolBarButton() Foundation
Class function of the XbpToolBarButton class
Instances of the XbpToolBarButton class are used to interact with the buttons defined for an instance of the XbpToolBar class. The life cycle of an XbpToolBarButton is closely tied to that of its encompassing toolbar object. Tool bar buttons cannot exist on their own but are implicitly created when adding buttons to a toolbar.
An Xbase++ application interacts with instances of the XbpToolBarButton class when it comes to manipulating properties of a button already displayed in a tool bar object. Both the methods XbpToolBar:addItem() and XbpToolBar:getItem() return a reference to an XbpToolBarButton object. By assigning values to the button object's instance variables, the application can control the caption and/or image displayed by the tool bar button, for example.
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.