You are here:   Backstage - LayoutContainer

Backstage - LayoutContainer

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

 

 The layoutContainer element is responsible for the alignment of controls.

 

 

 

 

 

 

 

 

 

 

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>
             <layoutContainer id="lay1" layoutChildren="horizontal">
                <button id="btn1" label="Form Button 1" imageMso="HappyFace"/>
                <button id="btn2" label="Form Button 2" expand="horizontal" style="normal" />
                <button id="btn3" label="Form Button 3" style="borderless"/>
                <button id="btn4" label="Form Button 4" style="large" imageMso="HappyFace"
                          screentip="Screentip" supertip="Supertip"/>
             </layoutContainer>
             <labelControl id="lblLabel2" label="LayoutContainer - layoutChildren=vertical:"/>
             <layoutContainer id="lay2" layoutChildren="vertical">
                <button id="btn1a" label="Form Button 1" imageMso="HappyFace"/>
                <button id="btn2a" label="Form Button 2" expand="horizontal" style="normal" />
                <button id="btn3a" label="Form Button 3" style="borderless"/>
                <button id="btn4a" label="Form Button 4" style="large" imageMso="HappyFace"
                          screentip="Screentip" supertip="Supertip"/>
             </layoutContainer>
        </bottomItems>
      </group>
     </firstColumn>
   </tab>
   <button id="btnFast1" label="Label Backstage Button" imageMso="HappyFace" onAction="OnActionButton"/>
  </backstage>
</customUI>

 

Attributes: align, expand, id, idMso, idQ, layoutChildren, tag

     Callbacks: -

 

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

Back

 

 

 

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