You are here: Backstage - Combobox - Control
Backstage - Combobox - Control
Remark: All functions in this chapter refer to Access / Office 2010.

The comboBox element is different to the standard Ribbon comboBox 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>
<comboBox id="cbo1" label="Form ComboBox 1">
<item id="itmCB1" label="1. Item"/>
<item id="itmCB2" label="2. Item"/>
<item id="itmCB3" label="3. Item"/>
</comboBox>
<comboBox id="cbo2" label="Form ComboBox 2" expand="horizontal">
<item id="itmCB1a" label="1. Item"/>
<item id="itmCB2b" label="2. Item"/>
<item id="itmCB3c" label="3. Item"/>
</comboBox>
</bottomItems>
</group>
</firstColumn>
</tab>
<button id="btnFast1" label="Label Backstage Button" imageMso="HappyFace" onAction="OnActionButton"/>
</backstage>
</customUI>
ComboBox:
Attributes: alignLabel, enabled, expand, id, idMso, idQ, keytip, label,
layout, sizeString, tag, visible
Callbacks: getEnabled, getItemCount, getItemID, getItemLabel, getKeytip,
getLabel, getText, getVisible, onChange
Item:
Callbacks: getLabel
You can also find this sample in sample database "Backstage View".

