WD: How to Add Capitalization and Spacing to ToolTips

Last reviewed: February 5, 1998
Article ID: Q125223
The information in this article applies to:
  • Microsoft Word for Windows, versions 6.0, 6.0a and 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 : kbhowto kbmacro
Version : MACINTOSH:6.0,6.0.1,6.0.1a;WINDOWS:6.0,6.0a,6.0c
Platform : MACINTOSH WINDOWS
Issue type : kbinfo


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: February 5, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.