I need XML code to be used in a ms-access RIBBON

Tony
Tony used Ask the Experts™
on
Hi,

I need XML code to be used in a ms-access RIBBON:

I have created the following using IDBE RibbonCreator 2016, but it is created by Grouping.  I need just a drop-down menu as a in the Old Windows style.

<!-- Created with IDBE RibbonCreator 2016 (Version: 1.1006e) -->
<!--                 http://www.RibbonCreator2016.de                -->

<customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui" onLoad="OnRibbonLoad" loadImage="LoadImages">
  <ribbon startFromScratch="true">
    <tabs>
      <tab id="tabMasterFiles" label="MASTER FILES" getVisible ="GetVisible" tag = "RibbonName:=EurekaRibbon;CustomTagValue1:=;CustomTagValue2:=;CustomTagValue3:=" > 
        <group id="grpCustomers" autoScale="false" centerVertically="false" label="Customers" getVisible ="GetVisible" tag = "RibbonName:=;inMenu:=;CustomTagValue1:=;CustomTagValue2:=;CustomTagValue3:=;CustomPicture:=;CustomPicturePath:=" >
          <button id="btnAddEditCustomer" size="large" label="Add/Edit Customer" screentip="Add or Edit Customer(s)." supertip=" " getImage="GetImages" tag="RibbonName:=EurekaRibbon;inMenu:=;CustomTagValue1:=;CustomTagValue2:=;CustomTagValue3:=;CustomPicture:=Customers.png;CustomPicturePath:=C:\EUREKA\Pictures\NewIcons\" onAction="OnActionButton" getVisible="GetVisible" getEnabled="GetEnabled" />
          <button id="btnCustomersList" size="normal" label="Customers List" screentip="See the list of customers or find a customer." supertip=" " imageMso="AccessOnlineLists" tag="RibbonName:=EurekaRibbon;inMenu:=;CustomTagValue1:=;CustomTagValue2:=;CustomTagValue3:=;CustomPicture:=;CustomPicturePath:=" onAction="OnActionButton" getVisible="GetVisible" getEnabled="GetEnabled" />
        </group>
        <group id="grpSuppliers" autoScale="false" centerVertically="false" label="Suppliers" getVisible ="GetVisible" tag = "RibbonName:=;inMenu:=;CustomTagValue1:=;CustomTagValue2:=;CustomTagValue3:=;CustomPicture:=;CustomPicturePath:=" >
          <button id="btnAddEditSupplier" size="large" label="Add/Edit Supplier" screentip="Add or Edit Supplier(s)." supertip=" " getImage="GetImages" tag="RibbonName:=EurekaRibbon;inMenu:=;CustomTagValue1:=;CustomTagValue2:=;CustomTagValue3:=;CustomPicture:=Suppliers.png;CustomPicturePath:=C:\EUREKA\Pictures\NewIcons\" onAction="OnActionButton" getVisible="GetVisible" getEnabled="GetEnabled" />
          <button id="btnSupplierList" size="normal" label="Suppliers List" screentip="See the list of suppliers or find a supplier." supertip=" " imageMso="GroupAssignments" tag="RibbonName:=EurekaRibbon;inMenu:=;CustomTagValue1:=;CustomTagValue2:=;CustomTagValue3:=;CustomPicture:=;CustomPicturePath:=" onAction="OnActionButton" getVisible="GetVisible" getEnabled="GetEnabled" />
        </group>
        <group id="grpProducts" autoScale="false" centerVertically="false" label="Products" getVisible ="GetVisible" tag = "RibbonName:=;inMenu:=;CustomTagValue1:=;CustomTagValue2:=;CustomTagValue3:=;CustomPicture:=;CustomPicturePath:=" >
          <button id="btnProducts" size="large" label="Add/Edit Product" getImage="GetImages" tag="RibbonName:=EurekaRibbon;inMenu:=;CustomTagValue1:=;CustomTagValue2:=;CustomTagValue3:=;CustomPicture:=Products.png;CustomPicturePath:=C:\EUREKA\Pictures\NewIcons\" onAction="OnActionButton" getVisible="GetVisible" getEnabled="GetEnabled" />
          <button id="btnProductsList" size="normal" label="Products List" screentip="See the list of products or find a product." supertip=" " imageMso="AllModuleNameItems" tag="RibbonName:=EurekaRibbon;inMenu:=;CustomTagValue1:=;CustomTagValue2:=;CustomTagValue3:=;CustomPicture:=;CustomPicturePath:=" onAction="OnActionButton" getVisible="GetVisible" getEnabled="GetEnabled" />
          <button id="btnCategories" size="normal" label="Categories" screentip="Add or Edit a category of products." supertip=" " getImage="GetImages" tag="RibbonName:=EurekaRibbon;inMenu:=;CustomTagValue1:=;CustomTagValue2:=;CustomTagValue3:=;CustomPicture:=Categories.png;CustomPicturePath:=C:\EUREKA\Pictures\NewIcons\" onAction="OnActionButton" getVisible="GetVisible" getEnabled="GetEnabled" />
          <button id="btnUnitsOfMeasure" size="normal" label="Units of Measure" screentip="Add or Edit Units of Measure related to products." supertip=" " getImage="GetImages" tag="RibbonName:=EurekaRibbon;inMenu:=;CustomTagValue1:=;CustomTagValue2:=;CustomTagValue3:=;CustomPicture:=UnitofMeasures.png;CustomPicturePath:=C:\EUREKA\Pictures\NewIcons\" onAction="OnActionButton" getVisible="GetVisible" getEnabled="GetEnabled" />
          <button id="btnWarehouses" size="normal" label="Warehouses" getImage="GetImages" tag="RibbonName:=EurekaRibbon;inMenu:=;CustomTagValue1:=;CustomTagValue2:=;CustomTagValue3:=;CustomPicture:=Warehouses.png;CustomPicturePath:=C:\EUREKA\Pictures\NewIcons\" onAction="OnActionButton" getVisible="GetVisible" getEnabled="GetEnabled" />
        </group>
        <group id="grp_3" autoScale="false" centerVertically="false" label="Group 3" getVisible ="GetVisible" tag = "RibbonName:=;inMenu:=;CustomTagValue1:=;CustomTagValue2:=;CustomTagValue3:=;CustomPicture:=;CustomPicturePath:=" >
          <dynamicMenu id="dym_9" size="normal" invalidateContentOnDrop="false" label="Transactions" tag="RibbonName:=EurekaRibbon;inMenu:=;CustomTagValue1:=;CustomTagValue2:=;CustomTagValue3:=;CustomPicture:=;CustomPicturePath:=" getVisible="GetVisible" getEnabled="GetEnabled" getContent="GetContent" />
          <menu id="mnu_10" size="normal" itemSize="normal" label="Menu 10" tag="RibbonName:=EurekaRibbon;inMenu:=;CustomTagValue1:=;CustomTagValue2:=;CustomTagValue3:=;CustomPicture:=;CustomPicturePath:=" getVisible="GetVisible" getEnabled="GetEnabled" >
          </menu>
          <!--End menu (mnu_10) NOT delete this remark-->
        </group>
      </tab>
      <tab id="Tab1" label="TAB 1" getVisible ="GetVisible" tag = "RibbonName:=EurekaRibbon;CustomTagValue1:=;CustomTagValue2:=;CustomTagValue3:=" > 
      </tab>
    </tabs>
  </ribbon>
</customUI>
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Software & Systems Engineer
Commented:
How about a split Button which has the menu functionality under the "host" button
<group id="GrpName" label="LabelName">
<splitButton id="splitButton"  size="large">
<button id="idOfMainButton"   label="Label Button"  idMso="FileClose" onAction="Action1"/>
<menu id="menu">
<button id="idOfSubButton1" label="Button1" idMso="FileClose"  onAction="Action2" />
<button id="idOfSubButton2" label="Button2" idMso="FileClose"  onAction="Action3" />
</menu>
</splitButton>
</group>

Open in new window

Author

Commented:
Hi John....
Is there any other way different than not using Group?

Please see attached PDF file sample.   I would like a toolbar simple like that, see the Red circles.

Thank you.
menu.pdf

Author

Commented:
If there is no other way than using Group, what is the XML code for displaying the little arrow to the left in a menu and then select from a set of options  (as indicated in the menu.pdf sample file?
John TsioumprisSoftware & Systems Engineer

Commented:

Author

Commented:
very good!!

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial