DisplayKeysInTooltips property

Microsoft Visio Developer Reference

DisplayKeysInTooltips property

   Example   

Determines whether ToolTip text includes keyboard shortcuts.

Version added

2000

Syntax

boolVal = object.DisplayKeysInTooltips
object.DisplayKeysInTooltips = boolVal

boolVal

Required Boolean. True if ToolTip text shows keyboard shortcuts; False if it does not.

object

Required. An expression that returns a UIObject object.

Remarks

To show ToolTips, you must set the DisplayTooltips property to True.

It doesn't matter which UIObject object you use when getting or setting this property. The property affects the entire application, and always affects the appearance of ToolTips in the current visible set of toolbars.

Beginning with Microsoft Visio 2002, this setting corresponds to the Show shortcut keys in ScreenTips setting on the Options tab in the Customize dialog box (on the Tools menu, click Customize), and is shared between Visio 2002 and all Microsoft Office XP applications.