ScreenTip Property

Microsoft Access Visual Basic

ScreenTip Property

       

You can use the ScreenTip property to specify or determine the text that is displayed when you move the cursor over a hyperlink control. Read/write String.

expression.ScreenTip

expression   Required. An expression that returns one of the objects in the Applies To list.

Remarks

The ScreenTip property is a string expression displayed as a screen tip.

You can set the HyperlinkSubAddress property with the SubAddress property by using Visual Basic.

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

When you move the cursor over a hyperlink control whose HyperlinkSubAddress property is set, Microsoft Access changes the cursor to an upward-pointing hand and displays the text string defined by the ScreenTip property. Clicking the control displays the object or Web page specified by the link.

For more information about hyperlink addresses and their format, see the HyperlinkAddress and HyperlinkSubAddress property topics.

Example

The following example displays the message "Go to Home page" when the cursor hovers over the hyperlink named "HomePage" on the "Order Entry" form.

Forms("Order Entry").Controls("HomePage").Hyperlink.ScreenTip = "Go to Home page"