Sie sind hier:   Startseite > Access - Ribbons > Ribbon XML / Controls > Menü

Menü

Menü im Ribbon

Die dazugehörige XML Ribbon Datei:

<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">
    <ribbon startFromScratch="false">
        <tabs>
            <tab id="MyTab" label="Meine Tab">
                <group id="MyGroup" label="Meine Gruppe">
                    <labelControl id="myLabel1" label="Beispiel:" />
                    <labelControl id="myLabel2" label="Menüs" />
                    <menu id="MyMenu" 
                          label="Beispiel Menu" 
                          itemSize="normal">
                        <toggleButton idMso="Bold"/>
                        <button id="MenuButton1" label="Button" imageMso="HappyFace"
                           onAction="MyButtonCallbackOnAction" />
                        <menuSeparator id="myMenuSep1"/>
                        <toggleButton id="MenuToggleButton1" label="Toggle Button"
                           imageMso="HappyFace"
                          onAction="MyToggle ButtonCallbackOnAction"/>
                        <button idMso="FileExit"/>
                        <menu id="MyMenuNextLevel1" 
                              label="Erweitert"
                              itemSize="normal">
                            <button idMso="Cut"/>
                            <button idMso="Copy"/>
                            <button idMso="Paste"/>
                            <menuSeparator id="myMenuSep2" title="Große Einträge folgen"/>
                                <menu id="MyMenuNextLevel2" 
                                      label="Große Einträge"
                                      itemSize="large">
                                    <button idMso="Cut"/>
                                    <button idMso="Copy"/>
                                    <button idMso="Paste"/>
                                    <menuSeparator id="myMenuSep3"/>
                                    <dynamicMenu id="subMenu" label="Sub Menu"
                                      getContent="GetSubContent"/>
                                    <button id="dynaButton" label="Button"
                                      onAction="MyButtonCallbackOnAction"
                                       imageMso="HappyFace"/>
                                </menu>
                        </menu>
                    </menu>
                 </group>
            </tab>
        </tabs>
    </ribbon>
</customUI>

 




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

Callbacks: getDescription, getEnabled, getImage
                  getKeytipgetLabel, getScreentip, getShowImage,
                  getShowLabel, getSizegetSupertipgetVisible

 

Sie finden dieses Beispiel auch in der Beispieldatenbank 1



 

 

Letzte Änderungen:

18.03.2021
Neuer Download für Excel hinzugefügt. ...

25.10.2018
Seite "Vertrauenswürdige Speicherorte" - aktualisiert.. ...

22.10.2018
Neuer Download hinzugefügt. ...

08.04.2018
IDBE RibbonCreator 2016 (x86 and x64) für Office 2013 und Office 2016 - Neue Version. ...

 

Letzte Änderung: