Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() 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 |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Custom menu groups don't appear on ribbonX when no workbook is ope | Excel Programming | |||
Exotic Menu Controls | Excel Programming | |||
Add item to 'Cell' context menu with XML (RibbonX) | Excel Programming | |||
Hide controls in a worksheet menu bar | Excel Programming | |||
Menu Controls Index | Excel Programming |