TechWhirl (TECHWR-L) is a resource for technical writing and technical communications professionals of all experience levels and in all industries to share their experiences and acquire information.
For two decades, technical communicators have turned to TechWhirl to ask and answer questions about the always-changing world of technical communications, such as tools, skills, career paths, methodologies, and emerging industries. The TechWhirl Archives and magazine, created for, by and about technical writers, offer a wealth of knowledge to everyone with an interest in any aspect of technical communications.
RE: Screen Tip text for a customized toolbar button
Subject:RE: Screen Tip text for a customized toolbar button From:Ed Klopfenstein <eklopfenstein -at- proclarity -dot- com> To:"TECHWR-L" <techwr-l -at- lists -dot- raycomm -dot- com> Date:Thu, 29 Aug 2002 09:18:05 -0600
Sue:
Here's two sample snippets of code that could help. The first macro
highlights the first element in your menu bar (the File menu). Click on
something else and then mouse over the command to see the new TooltipText (I
did this so you can see the menu command that has the new TooltipText
entry). Just remember that elements of this collection are 1 based if you
use an index.
Public Sub RunThis()
With Word.CommandBars.ActiveMenuBar.Controls(1)
.SetFocus
.TooltipText = "Here's Johnny!"
End With
End Sub
Change to your CommandBars collection to work with buttons, as in the
following:
Public Sub RunThis()
With Word.CommandBars.Item(1).Controls(1)
.SetFocus
.TooltipText = "Here's Another Johnny!"
End With
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Check out the new release of RoboDemo, our easy-to-use tutorial software.
Plus, buy RoboHelp Office in August and save $100 with our mail-in rebate.
Get details and download free trial versions at http://www.ehelp.com/techwr-l
---
You are currently subscribed to techwr-l as:
archive -at- raycomm -dot- com
To unsubscribe send a blank email to leave-techwr-l-obscured -at- lists -dot- raycomm -dot- com
Send administrative questions to ejray -at- raycomm -dot- com -dot- Visit http://www.raycomm.com/techwhirl/ for more resources and info.