Skip to content

Latest commit

 

History

History
50 lines (29 loc) · 1.6 KB

Access.OptionButton.StatusBarText.md

File metadata and controls

50 lines (29 loc) · 1.6 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
OptionButton.StatusBarText property (Access)
vbaac10.chm10573
vbaac10.chm10573
Access.OptionButton.StatusBarText
d3cda3a2-1b19-6b12-6d22-0cfd1b869933
02/26/2019
medium

OptionButton.StatusBarText property (Access)

Use the StatusBarText property to specify the text that is displayed in the status bar when a control is selected. Read/write String.

Syntax

expression.StatusBarText

expression A variable that represents an OptionButton object.

Remarks

You set the StatusBarText property by using a string expression up to 255 characters long. The length of the text that you can display in the status bar depends on your computer hardware and video display.

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.

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.

Tip

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

Example

The following example sets the status bar text to be displayed when the Address_TextBox control in the Mailing List form has the focus in Form view.

Forms("Mailing List").Controls("Address_TextBox"). _ 
 StatusBarText = "Enter the company's mailing address." 

[!includeSupport and feedback]