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

Gallery

Gallery

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="Gallery" />
                    <gallery id="MyGallery" 
                             imageMso="DateAndTimeInsert"
                             label="Select a month:" 
                             columns="3" 
                             rows="4"
                             onAction="MyGallerySelMonatCallbackOnAction" >
                        <item id="itmGall1" label="January" imageMso="LassoSelect"/>
                        <item id="itmGall2" label="February"
                          imageMso="AppointmentColorDialog"/>
                        <item id="itmGall3" label="March" imageMso="LassoSelect"/>
                        <item id="itmGall4" label="April"
                          imageMso="AppointmentColorDialog"/>
                        <item id="itmGall5" label="May" imageMso="LassoSelect"/>
                        <item id="itmGall6" label="June"
                          imageMso="AppointmentColorDialog"/>
                        <item id="itmGall7" label="July" imageMso="LassoSelect"/>
                        <item id="itmGall8" label="August"
                          imageMso="AppointmentColorDialog"/>
                        <item id="itmGall9" label="September" imageMso="LassoSelect"/>
                        <item id="itmGall10" label="October"
                          imageMso="AppointmentColorDialog"/>
                        <item id="itmGall11" label="November" imageMso="LassoSelect"/>
                        <item id="itmGall12" label="December"
                          imageMso="AppointmentColorDialog"/>
                        <button id="MyButton" label="Button in gallery"
                           onAction="MyButtonCallbackOnAction"
                           imageMso="HappyFace"/>
                    </gallery>
                 </group>
            </tab>
        </tabs>
    </ribbon>
</customUI>




Attributes: columns, description, enabled, id, idMso, idQ, image, imageMso,
                 insertAfterMso, insertAfterQ, insertBeforeMso, insertBeforeQ,
                 itemHeight, itemWidthkeytip, label, rows, screentip, showImage,
                 showItemImage, showItemLabel, showLabel, sizesizeString,
                 supertip, tagvisible

                 Added in O2010: invalidateContentOnDrop 

Callbacks: getDescription, getEnabled, getImage
                  getItemCount, getItemHeightgetItemID, getItemImage,
                  getItemLabelgetItemScreentipgetItemSupertip,
                  getItemWidthgetKeytipgetLabel, getScreentip,
                  getSelectedItemID, getSelectedItemIndex,
                  getShowImagegetShowLabel, getSizegetSupertip,
                  getVisible, onAction



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