Visual Basic: Windows Controls

SimpleText Property

See Also    Example    Applies To

Returns or sets the text displayed when a StatusBar control's Style property is set to Simple.

Syntax

*object.*SimpleText [= string]

The SimpleText property syntax has these parts:

Part Description
object An object expression that evaluates to a StatusBar control.
string A string that is displayed when the Style property is set to Simple.

Remarks

The StatusBar control has a Style property which can be toggled between Simple and Normal styles. When in Simple style, the status bar displays only one panel. The text displayed in Simple style is also different from that displayed in Normal style. This text is set with the SimpleText property.

The SimpleText property can be used in situations where an application's mode of operation temporarily switches. For example, when a menu is pulled down, the SimpleText could describe the menu's purpose.