RibbonX, Keytips, Menu Controls and Underscores?

  • Thread starter Thread starter TMC
  • Start date Start date
T

TMC

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
 
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?
 
Hi TMC

I only used it on Buttons so it is possible that it not work for other controls.

Sorry
 
Back
Top