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

Grouping of Ribbon Controls

Boxed Controls

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="Horizontal">
                    <box id="myBox1_h" boxStyle="horizontal">
                        <button id="MyButton1a_h" label="Button 1a"/>
                        <button id="MyButton2a_h" label="Button 2a"/>
                    </box>
                    <box id="myBox2_h" boxStyle="horizontal">
                        <button id="MyButton1_h" label="Button 1"/>
                        <button id="MyButton2_h" label="Button 2"/>
                        <button id="MyButton3_h" label="Button 3"/>
                    </box>
                </group>
                <group id="MyGroup2" label="Vertical">
                    <box id="myBox1_v" boxStyle="vertical">
                        <button id="MyButton1a_v" label="Button 1a"/>
                        <button id="MyButton2a_v" label="Button 2a"/>
                    </box>
                    <separator id="MySeparator"/>
                    <box id="myBox2_v" boxStyle="vertical">
                        <button id="MyButton1_v" label="Button 1"/>
                        <button id="MyButton2_v" label="Button 2"/>
                        <button id="MyButton3_v" label="Button 3"/>
                    </box>
                </group>
                <group id="MyGroup3" label="without">
                    <button id="MyButton1a_o" label="Button 1a"/>
                    <button id="MyButton2a_o" label="Button 2a"/>
                    <button id="MyButton1_o" label="Button 1"/>
                    <button id="MyButton2_o" label="Button 2"/>
                    <button id="MyButton3_o" label="Button 3"/>
                </group>
            </tab>
        </tabs>
    </ribbon>
</customUI>

 


Attributes: id, idQ, insertAfterMso, insertAfterQ, insertBeforeMso,
                 insertBeforeQ, visible

 Callbacks: getVisible

 

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