You are here:   Home > Access - Ribbons > Ribbon XML / Controls > Dynamic Menu

Dynamic Menu

Sample Ribbon XML file:

<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">
    <ribbon startFromScratch="false">
        <tabs>
            <tab id="MyTab" label="My Tab">
                <group id="MyGroup" label="My Group ">
                    <labelControl id="myLabel1" label="Sample:" />
                    <labelControl id="myLabel2" label="Menu" />
                    <menu id="MyMenu" label="Sample Menu" itemSize="normal">
                        <menu id="MyMenuNextLevel1" label="More"> 
                        <menuSeparator id="myMenuSep2" title="Large items next"/>
                            <menu id="MyMenuNextLevel2" label="Large items"
                              itemSize="large">
                                <menuSeparator id="myMenuSep3"/>
                                <dynamicMenu id="subMenu" 
                                             label="Sub Menu"
                                             getContent="GetSubContent"/>
                            </menu>
                        </menu>
                    </menu>
                 </group>
            </tab>
        </tabs>
    </ribbon>
</customUI>




Attributes: description, enabled, id, idMso, idQ, image, imageMso,
                 insertAfterMso, insertAfterQ, insertBeforeMso, insertBeforeQ, invalidateContentOnDrop,
                 keytiplabel, screentip, showImageshowLabel, size,
                 supertiptagvisible

 

Callbacks: getDescription, getEnabled, getContentgetImage,
                  getKeytipgetLabel, getScreentip,
                  getShowImage, getShowLabel, getSizegetSupertip,
                  getVisible


You can find this sample in Sample DB 2



 

 

 

Last Updates:

18.03.2021
New Download added. ...

25.10.2018
Update Site "Trusted Locations" ...

22.10.2018
New Download added. ...

08.04.2018
IDBE RibbonCreator 2016 (x86 and x64) for Office 2013 and Office 2016 - new release. ...

 

Last update: