Member variable XbpStatusBarPanel():style Foundation

Specifies the style of an XbpStatusBarPanel object.

Attribute: EXPORTED
Data type: Numeric (XBPSTATUSBAR_PANEL_TEXT)
Description

A status bar panel can display an arbitrary status message and image. Also, several pre-defined status bar panel styles exist which can be selected by assigning one of following constants to the :styleinstance variable:

Constants defined for status bar panel styles
Constant Description
XBPSTATUSBAR_PANEL_TEXT *) Panel displays status text
XBPSTATUSBAR_PANEL_CAPSLOCK Panel displays status of CAPSLOCK key
XBPSTATUSBAR_PANEL_NUMLOCK Panel displays status of NUMLOCK key
XBPSTATUSBAR_PANEL_INSERT Panel displays status of INSERT key
XBPSTATUSBAR_PANEL_SCROLL Panel displays status of SCROLL LOCK key
XBPSTATUSBAR_PANEL_TIME Panel displays current time
XBPSTATUSBAR_PANEL_DATE Panel displays current date
  1. Default panel style

The style of a given XbpStatusBarPanel object can be specified using the <nStyle> parameter to XbpStatusBar:addItem(). Alternatively, a panel's :style instance variable may be used to change its style after it has already been added to an XbpStatusBar instance. In addition to textual status information as described above, a status bar panel can also display an application-defined image. Images must be defined using the :image instance variable.

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.