Buttons in customized ribbon disappear when "allow full menus" is disabled

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MarcinM
    New Member
    • Nov 2014
    • 15

    Buttons in customized ribbon disappear when "allow full menus" is disabled

    Hello,
    I customized ribbon for a pivot chart form using the below given code - it displays the only required buttons.
    However, when I disable "allow full menus" only empty tab is displayed.
    How can it be fixed?
    Thank you for any suggestions.

    Code:
    <!-- Piovot chart ribbon -->
    		<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">
    	  <ribbon startFromScratch="true">
    		<tabs>
    		  <tab id="PivotChartTools" label="Narzędzia wykresu">
    			<group id="ChartTools" label="Narzędzia wykresu">
    				  <toggleButton idMso="PivotFieldList" label="Lista dostępnych pól" size="large"/>
    				  <toggleButton idMso="PivotDropAreas"  size="large"/>
    				  <toggleButton idMso="PivotChartLegendShowHide" label="Pokaż legendę" size="large"/>
    			</group>
    		  </tab>
    		</tabs>
    	  </ribbon>
    	</customUI>
  • twinnyfo
    Recognized Expert Moderator Specialist
    • Nov 2011
    • 3662

    #2
    In your Form, you must set the RibbonName Property to "Narzędzia wykresu". You will be able to select it from a drop down in that property (that is, if your ribbon has been properly coded and configured).

    Hope this hepps!

    Comment

    • MarcinM
      New Member
      • Nov 2014
      • 15

      #3
      Thank you for your reply.

      Ribbon's XML seems to be correct and the form's "RibbonName " property is also defined.

      The ribbon appears once the form is open but only when "Allow full menus" is enabled. When it is disabled the ribbon also shows up but the tab is empty.

      I attached an image showing the problem.
      [IMGNOTHUMB]http://bytes.com/attachments/attachment/8118d1420108597/customribbon-buttons-invisible-when-allow-full-menus-disabled.jpg[/IMGNOTHUMB]
      Attached Files
      Last edited by NeoPa; Jan 4 '15, 03:45 AM. Reason: Made pic viewable.

      Comment

      • twinnyfo
        Recognized Expert Moderator Specialist
        • Nov 2011
        • 3662

        #4
        MarcinM,

        Very strange. I have the same settings as you, but my custom ribbons show up for me and the standard ribbons are gone.

        But, now, taking a much closer look at your image, even STRANGER!!! Your ribbon shows up, but your buttons disappear--I did not fully understand the strangeness of your problem.

        I'll have to review my ribbon code--which is at work--later. So I will try to respond on Monday if I get a chance.

        Comment

        Working...