The value assigned to :caption is ignored unless the default panel style (XBPSTATUSBAR_PANEL_TEXT) is used for XbpStatusBarPanel object. See the :style instance variable for further information.
Member variable XbpStatusBarPanel():caption Foundation
Specifies the caption (status message) displayed in a XbpStatusBarPanel object.
The status message displayed by a XbpStatusBarPanel object can be specified using the <cCaption> parameter to XbpStatusBar:addItem(). Alternatively, a panel's :caption instance variable may be used to change its caption string after it has already been added to an XbpStatusBar 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.