JavaScript Editor JavaScript Editor     JavaScript Debugger

Previous Section Next Section

Main Page

Using the StatusBar Class

As discussed in the In Depth section of this chapter, status bars display status messages, usually at the bottom of forms. This class is supported by the StatusBar class, and here is that class's hierarchy:

Object
   MarshalByRefObject
      Component
         Control
            StatusBar

You can find the notable public properties of StatusBar objects in Table 10.16 and the notable public events in Table 10.17. Note that I'm omitting the properties, methods, and events status bars inherit from the Control class, which you can find in Chapter 5, Tables 5.1, 5.2, and 5.3.

Table 10.16: Noteworthy public properties of StatusBar objects.

Property

Means

BackgroundImage

Gets/sets the background image in a status bar.

Dock

Gets/sets a status bar's docking behavior.

Font

Gets/sets the font for a status bar.

Panels

Gets the collection of status bar panels in a status bar.

ShowPanels

Gets/sets whether panels should be shown or not.

Text

Gets/sets the status bar text.

Table 10.17: Noteworthy public events of StatusBar objects.

Event

Means

PanelClick

Occurs when a status bar panel is clicked.

Previous Section Next Section




JavaScript Editor Free JavaScript Editor     JavaScript Editor