kostenlose counter
Seit 01.12.2006
 
 
Welcome > Access - Ribbons > Ribbon XML / Controls > Category
 
 

Category

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

 

With a Category element single tasks can be categorized.

The Category element can have one or more task elements.

 

 

 

 

 

 

 

 

 

 

 

 

 

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="Tab
Label 1. ">
      <firstColumn>
       <taskFormGroup
id="MytskfrmGroup1" label="Label taskFormGroup 1. Column" helperText="Helpertext for 1. Column">

           <category id="cat1" label="Label 1. Category" >

            <task
id="tsk1" label="Label 1.0 Task" description="Description 1.0 Task" imageMso="HappyFace">
             <group id="myGroup21" label="Label 1. Group" helperText="Style:= normalstyle="normal"/>
            
<group id="myGroup22" label="Label 2. Group" helperText="Style:= warning" style="warning"/>
            
<group id="myGroup23" label="Label 3. Group" helperText="Style:= error" style="error"/>
            </
task>
            <
task id="tsk1a" label="Label 1.1. Task" description="Description 1.1 Task" imageMso="AppointmentColorDialog">
             
<group id="myGroup24" style="normal"/>
            </task>

           </
category>

           <
category id="cat2" label
="Label 2. Category">

            <
task id="tsk2" label="Label 2.0 Task" description="Description 2.0 Task">
             
<group id="myGroup25" style="normal"/>
            </task>

           </
category>

       </taskFormGroup>
     </firstColumn>

    </tab>
    <button id="btnBackstage1" label="Label
Backstage Button" imageMso="HappyFace" onAction="OnActionButton"/>
  </
backstage>
       

</customUI>



Attributes:
id, idMso, idQ, insertAfterMso, insertAfterQ, insertBeforeMso, insertBeforeQ, label, tag, visible

 Callbacks: getLabel, getVisible



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


 

 

 
 
 
 
 
 
 
 

©2000-2010 Gunter Avenius

Powered By CMSimple.dk | Design By Dotcomwebdesign.com