Reply
 
Thread Tools Display Modes
  #1   Report Post  
hstijnen
 
Posts: n/a
Default Show acceleration key in toolbar button

When I create a toolbar button for a style, and connect the style to an
acceleration key, the acceleration key is showed in the tooltip of the button.
Now I have created a toolbar button for a macro and connected the macro with
an acceleration key. But in this case the acceleration key is NOT showed in
the tooltip of the button.

What can I do to make this happen?

Thanks,

Henk
  #2   Report Post  
Cindy M -WordMVP-
 
Posts: n/a
Default

Hi ?B?aHN0aWpuZW4=?=,

When I create a toolbar button for a style, and connect the style to an
acceleration key, the acceleration key is showed in the tooltip of the button.
Now I have created a toolbar button for a macro and connected the macro with
an acceleration key. But in this case the acceleration key is NOT showed in
the tooltip of the button.

What can I do to make this happen?

You need to programmatically define the tooltip's text. Assuming the button is
the third one on a toolbar named "My buttons", the code would be something like
this:

CommandBars("My buttons").Controls(3).TooltipText _
= "Descriptive text Alt+A"

Notice the spaces in the text; those are deliberate. There's no way to tell Word
to "right-align" part of the text.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :-)

Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Run application using Word 2002 toolbar button Richard Harison New Users 5 January 2nd 05 02:37 PM
How do I make my own initial/date toolbar button in word? phauenstein Microsoft Word Help 2 December 16th 04 01:07 AM
Sound button on WebTools toolbar doesn't work. shonaipaul Microsoft Word Help 1 December 12th 04 07:19 AM
the tab indication doesn't show via Show/Hide ¶ button Jack Microsoft Word Help 2 December 4th 04 10:07 PM
Toolbar problem CarolineJ Microsoft Word Help 1 November 28th 04 01:17 AM


All times are GMT +1. The time now is 07:28 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"