WD: How to Add Capitalization and Spacing to ToolTips

ID: Q125223


The information in this article applies to:
  • Microsoft Word for Windows, versions 6.0, 6.0a, 6.0c
  • Microsoft Word for the Macintosh, version 6.0

When you create a macro and assign it to a button on a toolbar, Word assigns a ToolTip to the button. (A ToolTip is the small message box that appears when the pointer pauses over the button.) You can control the capitalization and spacing of the words that appear in a ToolTip by knowing that a ToolTip results from a macro name.

Each uppercase letter in a macro name (unless there are two or more capitalized letters in a row) tells Word to start a new capitalized word in the ToolTip. For example:

   The following      Results in the
   macro name         following ToolTip
   -------------      -----------------

   WordDemoMacro      Word Demo Macro
   ZoomControl        Zoom Control
   zoomcontrol        zoomcontrol
   zooMcontrol        zoo Mcontrol
   ZOOMControl        ZOOMControl
   ZOOmControl        ZOOm Control 
(Note that the last two examples are exceptions. When two or more capitalized letters appear in a row, Word does not separate them with a space.)

Additional query words: macword winword tooltip word6 tool tip capital letters capitalize capitalization space spaces

Keywords : kbmacro kbhowto
Version : MACINTOSH:6.0; WINDOWS:6.0,6.0a,6.0c
Platform : MACINTOSH WINDOWS
Issue type : kbinfo


Last Reviewed: December 29, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.