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

ButtonGroups

ButtonGroups

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="MyGroup1" label="Sample ButtonGroups">
                    <button id="MyButton1" label="Button alone" imageMso="_1"
                       onAction="MyButton1CallbackOnAction"/>
                    <buttonGroup id="myButtonGroup1">
                        <button id="MyButton2" imageMso="_2"
                           label="Button 2" onAction="MyButton2CallbackOnAction"/>
                        <button id="MyButton3" imageMso="HappyFace" label="OK?"
                           onAction="MyButton3CallbackOnAction" />
                    </buttonGroup>
                    <buttonGroup id="myButtonGroup2">
                        <button id="MyButton4" imageMso="FormatPainter" label="Paint"
                           showLabel="false" onAction="paint" />
                        <toggleButton idMso="Bold" />
                        <toggleButton idMso="Underline" />
                        <toggleButton idMso="Italic" />
                   </buttonGroup>
                 </group>
            </tab>
        </tabs>
    </ribbon>
</customUI>




Attributes: id, idQ, insertAfterMso, insertAfterQinsertBeforeMso,
                 insertBeforeQvisible

 Callbacks: getVisible

You can find this sample in Sample DB 1


 

 

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: