![]() |
RibbonX, Keytips, Menu Controls and Underscores?
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 |
RibbonX, Keytips, Menu Controls and Underscores?
Hi TMC
You can do this label="&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 |
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="&Custom Junk" <group id="rxgrpCustomJunk" label="&Custom Junk" <menu id="rxmnuTest" label="&Some Buttons" <button id="rxbtnButton1" label="&A Button"/ <button id="rxbtnButton2" label="&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="&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 |
RibbonX, Keytips, Menu Controls and Underscores?
Hi TMC
I only used it on Buttons so it is possible that it not work for other controls. Sorry -- Regards Ron de Bruin http://www.rondebruin.nl/tips.htm "TMC" wrote in message ... 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="&Custom Junk" <group id="rxgrpCustomJunk" label="&Custom Junk" <menu id="rxmnuTest" label="&Some Buttons" <button id="rxbtnButton1" label="&A Button"/ <button id="rxbtnButton2" label="&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="&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 |
All times are GMT +1. The time now is 03:07 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com