Backstage - DropDown - Control

Remark: All functions in this chapter refer to Access / Office 2010.  

 

 

The dropDown element is different to the standard Ribbon dropDown on following attributes.

 

 

 

 

The corresponding XML Ribbon file:

<customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui">
   <ribbon startFromScratch="false">
       <!-- Ribbon XML -->
   </ribbon>
  <backstage>
    <tab id="btab1" label="Label 1. Tab">
      <firstColumn>
       <group id="myGroup" style="normal" label="Form Button:">
         <bottomItems>
                <dropDown id="ddc1" label="Form DropDown 1">
                  <item id="itmDD1" label="1. Item"/>
                  <item id="itmDD2" label="2. Item"/>
                  <item id="itmDD3" label="3. Item"/>
                </dropDown>
                <dropDown id="ddc2" label="Form DropDown 2" expand="horizontal">
                  <item id="itmDD1a" label="1. Item"/>
                  <item id="itmDD2b" label="2. Item"/>
                  <item id="itmDD3c" label="3. Item"/>
                </dropDown>
        </bottomItems>
      </group>
     </firstColumn>
   </tab>
   <button id="btnFast1" label="Label Backstage Button" imageMso="HappyFace" onAction="OnActionButton"/>
  </backstage>
</customUI>

 

DropDown:

Attributes:  alignLabel, enabled, expand, id, idMso, idQ, keytip, label,
                 layout, screentip, sizeString, supertiptag, visible

 

     Callbacks: getEnabled, getItemCount, getItemID, getItemLabel, getKeytip,
                    getLabel, getScreentip, getSelectedItemIndex, getSupertip, getVisible, onAction

 

item:

Attributes: id, label

     Callbacks: getLabel

 

 

You can also find this sample in sample database "Backstage View".

 

Back