Control - Status Bar

images\btn_ctrl_statusbar.gif Provides a status bar like those at the bottom of many program windows. May be divided up into up to sixteen Panel objects, contained in a Panels collection. Panel objects can contain text and/or a picture and can automatically display frequently desired information such as time, date, etc.

 

Note: Non-Common Control properties are prefaced with "sbr", suppressed in the following for greater legibility.

 

Properties

 

In addition to the properties listed below, a Control tab provides access to certain frequently used form properties for this control. See the Form Properties topic for information on those properties.

 

 

StatusBar

General

 

Style

Normal - Show all Panel objects. Simple - display one large panel.

MousePointer

The type of mouse pointer displayed when over the status bar. Choose from 16 different types plus a custom pointer

SimpleText

Text to show when Style is set to Simple.

OLEDropMode

Set to None (default) if the status bar does not accept OLE drops and is to display the No Drop cursor if an OLE drop is attempted. Set to Manual, the status bar will trigger OLE drop events, allowing programs to handle the OLE drop operation in code.

Enabled

True or False. True means the control can respond to user-generated events, false prevents it from responding.

ShowTips

True (Default) - Show ToolTipsText. False - Don't.

 

 

Panels

 

Index

Integer that uniquely identifies a panel object in the Status bar collection. Numbered in order of creation from the first panel object, which is always 1.

Text

Text for panel caption.

ToolTipText

Tool tip text to display as tool tip for this panel.

Key

A unique string that identifies each panel object.

Tag

Stores a string available for the programmer to use as desired. Often used to store an identification string of some sort.

Alignment

Controls alignment of text or pictures in the panel. Left, Center or Right.

Style

Choose from Text, to display panel's Text property, or from a collection of standard capabilities showing keyboard status.

Text - Text and/or a bitmap.

Caps - Caps lock key on/off.

Num - Num lock key on/off.

Ins - Insert key enabled on/off.

Scrl - Scroll lock key on/off.

Time - Show time in system format.

Date - Show date in system format.

Kana - Kana lock on/off [Japanese o/s only].

Bevel

NoBevel - Flat text. Inset (Default) - Panel is sunk into status bar. Raised - Panel is raised up.

AutoSize

What to do when container (form) resized. NoAutoSize - Width of panel specified by Width property. Spring - All panels resize to new space. [use on middle panels] Contents - Panel resizes to fit contents.

MinimumWidth

Panel cannot shrink to less than this width.

ActualWidth

Reports actual width of panel

Picture

Bitmap to use for this panel.

Enabled

True or False. True means the panel can respond to user-generated events, false prevents it from responding.

Visible

True - Panel is visible. False - It isn't.

 

 

Font

 

Properties

Font properties that may be changes.

Font

Choose a font installed on this system. It's wise to choose standard Windows fonts such as MS Sans Serif that are universally available.

Size

Size of font, in points.

Effects

Bold, Italic, Underline or Strikeout.

Sample Text

A preview of the selected settings.

 

 

Picture

 

MouseIcon

Custom icon to use when the MousePointer property is set to 99. Like Visual Basic, will not load animated cursor (.ani) files.