Member variable XbpToolBarButton():style Foundation
Specifies the style of a tool bar button.
The instance variable :style contains a numeric value that specifies characteristics of the tool bar button. The following constants are supported for the :style instance variable:
|Default button style
|Function represented by the button is a toggle of a certain kind. If it is depressed, the button remains depressed until it is pressed again.
|Button is part of a group of buttons which are mutually exclusive. Only one button can be selected in a button group. However, all of them can be unpressed.
|Button is a divider between other buttons. Separator buttons can be used to visually group tool bar buttons. Cannot display caption or image.
|Button serves as a place-holder, eg. for another Xbase Part. Buttons of this style can be used to reserve space for placing other objects in a tool bar object.
|Button display a drop-down array next to its caption, which can be used to open a drop-down menu similar to an XbpCombobox.
The style of a given tool bar button can be specified using the <nStyle> parameter to XbpToolBar:addItem(). Alternatively, a button's :style instance variable may be used to change its style after it has already been added to an XbpToolBar instance.
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.