Toggling toolbar button

J

Jon

The show/hide toolbar button toggles - it has a blue border around it when
pressed for show formatting, and the border disappears if it is pressed
again to hide formatting.

If I make a macro that performs a toggling function and attach it to a
toolbar button, how do I make the button border toggle?
 
D

Doug Robbins - Word MVP

Hi Jon,

I believe that you would have to use code to actually change (substitute)
the button image with one with the required appearance.

See the article “Assigning custom button images to your toolbar and
menubuttons” at:

http://word.mvps.org/FAQs/Customization/CustomButtonImages.htm


--
Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.

Hope this helps
Doug Robbins - Word MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top