StatusBarText Property

Visual Studio .NET 2003

Specifies the text that is displayed in the status bar when a control gains focus or when the mouse pointer moves over the control. Read/write at design time and run time.

 [Form.]Control.StatusBarText [= cExpr]

Property Values

Character data type. StatusBarText specifies the text that describes the control.


Text appears in the status bar only when either the graphical status bar or status section is visible.

Text appears in the status bar for controls that gain focus only when the control gains focus, regardless of how the ShowTips property of the form is set. Text appears in the status bar for controls that never gain focus only when the mouse moves over the control, and the ShowTips property for the form is set to True (.T.). The following controls never gain focus:

  • CommandGroup
  • OptionGroup
  • Container
  • Line
  • Label
  • Image
  • Shape

If the graphical status bar is not visible because SET STATUS BAR is set to OFF, but the status section is visible because SET STATUS is set to ON, the text in the status bar displays in the center of the status section at the bottom of the screen.

See Also

Caption Property

Applies To: CheckBox | Column | ComboBox | CommandButton | CommandGroup | Container | Control | EditBox | Grid | Header | Image | Label | Line | ListBox | OLE Bound Control | OptionButton | OptionGroup | PageFrame | Shape | Spinner | TextBox