Class XbpStatusBarPanel() Foundation

Class function of the XbpStatusBarPanel class

Superclass
Description

Instances of the XbpStatusBarPanel class are used to interact with the panel objects that make up an XbpStatusBar object. The life cycle of XbpStatusBarPanel objects is closely tied to that of their encompassing statusbar object. Panel objects cannot exist on their own but are implicitly created when adding a panel to an XbpStatusBar object.

An Xbase++ application interacts with a StatusbarPanel object when it needs to manipulate the properties of an area in a status bar object. Both the methodsXbpStatusBar:addItem() and XbpStatusBar:getItem() return a reference to an XbpStatusBarPanel object. By assigning values to the panel object's instance variables, the application can control the message and/or image displayed by the statusbar panel, for example.

Instance Variables
:alignment
Specifies how the status message (caption) is to be aligned.
:autosize
Specifies the panel object's behaviour during resize operations.
:bevel
Controls the appearance of an XbpStatusBarPanel object.
:caption
Specifies the caption (status message) displayed in a XbpStatusBarPanel object.
:enabled
Specifies whether the XbpStatusBarPanel object is enabled.
:index
Specifies the ordinal position of the object within its container (statusbar).
:image
Specifies the image displayed in a XbpStatusBarPanel object.
:key
Specifies a key string that uniquely identifies a XbpStatusBarPanel object.
:left
Specifies the horizontal position of an XbpStatusBarPanel object.
:minWidth
Specifies the minimum width of an XbpStatusBarPanel object.
:style
Specifies the style of an XbpStatusBarPanel object.
:tooltipText
Specifies the tooltip text to be displayed by a XbpStatusBarPanel object.
:visible
Specifies whether a XbpStatusBarPanel object is visible.
:width
Specifies the width of an XbpStatusBarPanel object.
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.