File: xsfelmtoolbar.htm

package info (click to toggle)
office2003-schemas 1.0%2Bds-1
  • links: PTS, VCS
  • area: non-free
  • in suites: bookworm, forky, sid, trixie
  • size: 42,304 kB
  • sloc: javascript: 2,429; makefile: 29
file content (40 lines) | stat: -rw-r--r-- 4,254 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<html dir="ltr"><head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<META HTTP-EQUIV="assetid" CONTENT="HV01021506"><META NAME="lcid" CONTENT="1033"><title>toolbar Element</title><link rel="stylesheet" type="text/css" href="office10.css"><script type="text/javascript" language="Javascript" src="ExpCollapse.js"></script><script type="text/javascript" language="JavaScript" src="inline.js"></script></head><body><h1>toolbar Element</h1><div class="ofvbanav"><span class="ofvbanavreuse" id="seealso" onclick="toggleList()" onkeypress="toggleList()"></span><span class="ofvbanavreuse" id="parentelements" onclick="toggleList()" onkeypress="toggleList()"></span><span class="ofvbanavreuse" id="childelements" onclick="toggleList()" onkeypress="toggleList()"></span><span class="ofvbanavreuse" id="attributeslinks" onclick="toggleList()" onkeypress="toggleList()"></span></div><p>Contains information about the toolbars used in the view.</p><h2>Type</h2><p><pre><code>xsd:complexType</code></pre></p><h2>Structure</h2><table>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
      <tr><td><b class="bterm"><a href="xsfelmbutton.htm" id="HV01021461" lcid=" ">button</a></b></td><td>(Optional element) Defines a button that has an associated action.</td></tr><tr><td><b class="bterm"><a href="xsfatrcaption_3.htm" id="HV01021530" lcid=" ">caption</a></b></td><td>(Required attribute) Used as the title of the toolbar, when the toolbar is not docked to the user interface.</td></tr><tr>
        <td><b class="bterm"><a href="xsfatrname_5.htm" id="HV01021578" lcid=" ">name</a></b></td>
        <td>(Required attribute) Identifies the corresponding toolbar within different views. Must be unique within a given view.</td>
      </tr>
      
      
      <tr>
        <td><b class="bterm"><a href="xsfelmmenu.htm" id="HV01021489" lcid=" ">menu</a></b></td>
        <td>(Optional element) Contains information about the menus used within the toolbar.</td>
      </tr>
    </table><h2>Remarks</h2><p>The <b class="bterm">toolbar</b> element is an optional element of the <b class="bterm"><a href="xsfelmview.htm" id="HV01021513" lcid=" ">view</a></b> element. There can be multiple toolbars declared for a view, and each toolbar can have multiple <b class="bterm">menu</b> or <b class="bterm">button</b> elements.</p><h2><a id="#example" name="#example">Example</a></h2><p>The following is an example of the <b class="bterm">toolbar</b> element:</p><pre><code>&lt;xsf:<b class="bterm">toolbar</b> caption="CD Collection Toolbar"
   name="CD Collection Toolbar"&gt;
   &lt;xsf:button action="xCollection::insert" xmlToEdit="CD_10"
      caption="New CD" showIf="always"&gt;&lt;/xsf:button&gt;
   &lt;xsf:button action="xCollection::insert" xmlToEdit="Track_14" 
      caption="New Track" showIf="always"&gt;&lt;/xsf:button&gt;
   &lt;xsf:button action="xOptional::insert" xmlToEdit="Label_16" 
      caption="New Label" showIf="always"&gt;&lt;/xsf:button&gt;
   &lt;xsf:menu caption="Remove"&gt;
      &lt;xsf:button action="xCollection::remove" xmlToEdit="CD_10" 
         caption="CD" showIf="always"&gt;&lt;/xsf:button&gt;
      &lt;xsf:button action="xCollection::remove" xmlToEdit="Track_14" 
         caption="Track" showIf="always"&gt;&lt;/xsf:button&gt;
      &lt;xsf:button action="xOptional::remove" xmlToEdit="Label_16" 
         caption="Label" showIf="always"&gt;&lt;/xsf:button&gt;
   &lt;/xsf:menu&gt;
&lt;/xsf:<b class="bterm">toolbar</b>&gt;</code></pre><script type="text/javascript" language="JScript" src="ofvbanl.js"></script><span id="ofVBAISpan" class="ofvbaispan"><iframe id="ofVBAIFrame" frameborder="0" marginheight="0" marginwidth="4" scrolling="auto" width="100%" src="../links/xsfelmtoolbar_l.htm"></iframe></span><center><a href="XMLSchemaCopyright_HV01147162.htm">&copy;2003-2004 Microsoft Corporation. All rights reserved.</a>  

Permission to copy, display and distribute this document is available at: <a 

href="http://r.office.microsoft.com/r/rlidAWSContentRedir?AssetID=XT010988631033&amp;CTT=11&amp;Origin=HV011232471033" 

target="_new">http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp</a></center></body></html>