StatusBarText Property

Applies To

Bound Object Frame control, Chart control, Check Box control, Combo Box control, Command Button control, List Box control, Option Button control, Option Group control, Page, Subform/Subreport control, Tab control, Text Box control, Toggle Button control, Unbound Object Frame control.

Description

You can use the StatusBarText property to specify the text that is displayed in the status bar when a control is selected.

Note The StatusBarText property applies only to controls on a form, not controls on a report.

Setting

You set the StatusBarText property by using a string expression up to 255 characters long.

You can set this property by using the control's property sheet, a macro, or Visual Basic.

Note The length of the text you can display in the status bar depends on your computer hardware and video display.

Remarks

You can use the StatusBarText property to provide specific information about a control. For example, when a text box has the focus, a brief instruction can tell the user what kind of data to enter.

Note You can also use the ControlTipText property to display a ScreenTip for a control.

If you create a control by dragging a field from the field list, the value in a field's Description property is copied to the StatusBarText property.

For a control containing a hyperlink, the status bar shows the hyperlink address when the mouse pointer is over the control if the Show Hyperlink Addresses In Status Bar box is selected. This check box is located on the Hyperlinks/HTML tab of the Options dialog, available by clicking Options on the Tools menu. When you're editing the control, the status bar shows the text that is the setting of the StatusBarText property.

See Also

Caption property, ControlTipText property, Description property.