DisplayTooltips Property

Applies To

CommandBars collection object.

Description

True if ScreenTips are displayed whenever the user positions the pointer over command bar controls. Read/write Boolean.

Remarks

Setting the DisplayTooltips property in a container application immediately affects all the command bars in that application, in any other Office 97 application running at that time, and in any Office 97 application opened after that time, until the property is set again.

See Also

Caption property, DescriptionText property, DisplayKeysInTooltips property.

Example

This example displays large controls and ScreenTips on all command bars if the menu bar named "Custom Menu Bar" is the active menu bar.

Set allBars = CommandBars
If allBars.ActiveMenuBar.Name = "Custom Menu Bar" Then
    allBars.LargeButtons = True
    allBars.DisplayTooltips = True
End If