Hi folks,
I am playing around with the office ribbon in excel 2007/2010 (I am using Custom UI Editor and VBA).
It looks like the showLabel attribute of the button control is ignored. The xml below is for office 2007, but I see the same in excel 2010.
Button with id "customButton1" has property showLabel="false", but the label is shown regardless:
Code:
<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">
<ribbon>
<tabs>
<tab id="customTab" label="Contoso" insertAfterMso="TabHome">
<group idMso="GroupClipboard" />
<group idMso="GroupFont" />
<group id="customGroup" label="Contoso Tools">
<button id="customButton1" showLabel="false" label ="ConBold" size="large" onAction="conBoldSub" imageMso="Bold" />
<button id="customButton2" label="ConItalic" size="large" onAction="conItalicSub" imageMso="Italic" />
<button id="customButton3" label="ConUnderline" size="large" onAction="conUnderlineSub" imageMso="Underline" />
</group>
</tab>
</tabs>
</ribbon>
</customUI>
Using the getShowLabel delegate instead doesn't seem to make any difference...
Does anyone know what's going on?
Many thanks,
Yiannis