Condividi tramite


StatusBarText Property

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]

Return Value

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

Remarks

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

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

Reference

Caption Property (Visual FoxPro)

Other Resources

Properties (Visual FoxPro)

Language Reference (Visual FoxPro)