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

Combobox

ComboBox

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="Combobox" />
                    <comboBox id="Combo1" 
                              label="ComboBox"
                              onChange="MyComboBoxCallbackOnChange">
                        <item id="item1" label="one" imageMso="_1" />
                        <item id="item2" label="two" imageMso="_2" />
                        <item id="item3" label="three" imageMso="_3" />
                    </comboBox>
                 </group>
            </tab>
        </tabs>
    </ribbon>
</customUI>




Attributes: enabled, id, idMso, idQ, image, imageMso,
                 insertAfterMso, insertAfterQ, insertBeforeMso, insertBeforeQ,
                 label, maxLengthscreentip, showItemImage, showImage,
                 showLabel, sizeStringsupertip, tagvisible

                 Added in O2010: invalidateContentOnDrop

Callbacks: getEnabled, getImage, getItemCount, getItemID,
                  getItemImage, getItemLabel, getItemScreentip,
                  getItemSupertip, getKeytipgetLabel,  getScreentip,
                  getShowImagegetShowLabel, getSizegetSupertip,
                  getTextgetVisible, onChange

You can find this sample in Sample DB 1



 

 

 

 

Last Updates:

19.01.2013
Update Downloads for "Trusted Locations" - Versions for Office 2013 ...


29.08.2012
Revised versions for IDBE RibbonCreator2010 (Version 1.1014a) ...

07.08.2012
Update Group Attributes and Callbacks. ...

02.08.2012
New Access FAQ added. New Download added. ...

 

Last update:
April 07, 2013, 22:24