View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
TMC[_2_] TMC[_2_] is offline
external usenet poster
 
Posts: 12
Default RibbonX, Keytips, Menu Controls and Underscores?


I have tried your suggestion with a Menu Control and a Splitbutton control
but it did not underline the letter. Try the below:

<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui"
<ribbon
<tabs
<tab id="rxtabCustomTab"
insertAfterMso="TabHome"
label="&amp;Custom Junk"

<group id="rxgrpCustomJunk"
label="&amp;Custom Junk"

<menu id="rxmnuTest"
label="&amp;Some Buttons"

<button id="rxbtnButton1"
label="&amp;A Button"/
<button id="rxbtnButton2"
label="&amp;B Button"/
</menu
</group
</tab
</tabs
</ribbon
</customUI


It works on the Button controls but not the others.

Am I missing something?



"Ron de Bruin" wrote in message
...
Hi TMC

You can do this

label="&amp;SendMail add-in for Outlook"

--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"TMC" wrote in message
...
Hey All,

I have noticed that, unlike the Button control, with a Menu control, when
you specify the Keytip and include an ampersand in the label, the letter
following the ampersand does not get underscored. The same is true with
a Splitbutton control.

Does anyone have a workaround or a way to force the underscore?

Should I assume that this is because Microsoft sometimes automatically
renames / ignores the requested Keytip?

Thanks