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

ToggleButton

 

ToggleButton

ToggleButton pressed

 

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="Toogle Buttons" />
                    <toggleButton id="MyToggleButton1" 
                                  size="large" 
                                  label="Large Toggle Button" 
                                  imageMso="HappyFace"
                                  onAction="MyToggleButtonCallbackOnAction"/>
                    <toggleButton id="MyToggleButton2" size="normal" 
                       label="Small Toggle Button" imageMso="HappyFace"
                      onAction="MyToggleButtonCallbackOnAction"/>
                    <toggleButton id="MyToggleButton3" size="normal" 
                      imageMso="HappyFace"
                      onAction="MyToggleButtonCallbackOnAction"/>
                    <toggleButton id="MyToggleButton4" size="normal"
                       label="Small Toggle Button"
                      onAction="MyToggleButtonCallbackOnAction"/>
                </group>
            </tab>
         </tabs>
     </ribbon>
</customUI>

 

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

 

Callbacks: getDescription, getEnabled, getImage
                  getKeytipgetLabel, getPressedgetScreentip,
                  getShowImage, getShowLabel, getSizegetSupertip,
                  getVisible, onAction

 

 

 

You can find this sample in Sample DB 1


 

 

Last Updates:

04.01.2016
Add new Link. ...


22.09.2015
New - IDBE RibbonCreator 2016 32 Bit and 64 Bit (Version 1.1001) ...

26.06.2015
Update Downloads for "Trusted Locations" - Versions ...

15.10.2014
Add new Link. ...

 

Last update:
January 22, 2017, 17:44