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

SplitButton

SplitButton

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="Sample Split button">
               <splitButton id="mySplitButton" 
                            size="large">
                   <button id="myButton1" imageMso="HappyFace"
                     label="Click me" onAction="MyButton1CallbackOnAction"/>
                      <menu id="mySplitMenu" itemSize="large">
                         <button id="myButton2" imageMso="TableStyleRowHeaders"
                           label="Point 1."
                           onAction="MyButton2CallbackOnAction"
                           description="The 1st Point"/>
                         <button id="myButton3" imageMso="TableStyleColumnHeaders"
                           label="Point 2."
                           onAction="MyButton3CallbackOnAction"
                           description="The 2nd Point"/>
                         <button id="myButton4" imageMso="TableStyleLastColumn"
                            label="Point 3."
                           onAction="MyButton4CallbackOnAction"
                           description="The 3rd Point"/>
                      </menu>
                </splitButton>
             </group>
         </tab>
      </tabs>
   </ribbon>
</customUI>

 

The SplitButton requires either a <button> or <toggleButton> control. Furthermore a <menu> control is required for the SplittButton menu. 

Attributes: enabled, id, idMso, idQinsertAfterMso, insertAfterQ,
                 insertBeforeMso, insertBeforeQkeytiplabel, screentip,
                 showLabel, size, supertiptagvisible

 

Callbacks: getEnabledgetKeytipgetShowLabel, getSize,
                  getSupertip,  getVisible

 

 

You can find this sample in Sample DB 1

 

Last Updates:

04.08.2017
Add new Link. ...


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 ...

 

Last update:
August 04, 2017, 11:40