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
|
<html dir="ltr"><head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<META HTTP-EQUIV="assetid" CONTENT="HV01021530"><META NAME="lcid" CONTENT="1033"><title>caption Attribute (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>caption Attribute (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></div><p>Used as the title of the toolbar, when the toolbar is not docked to the user interface.</p><h2>Type</h2><p><pre><code>xsf:xdTitle</code></pre></p><h2>Remarks</h2><p>The <b class="bterm">caption</b> attribute is a required attribute of the <b class="bterm"><a href="xsfelmtoolbar.htm" id="HV01021506" lcid=" ">toolbar</a></b> element.<p><b>Note</b> The <b class="bterm">caption</b> attribute is also used for the name of the toolbar in the <b class="ui">Customize Commands</b> dialog box for a control.</p></p><h2><a id="#example" name="#example">Example</a></h2><p>The following is an example of the <b class="bterm">caption</b> attribute as it is used in the <b class="bterm">toolbar</b> element:</p><pre><code><xsf:toolbar <b class="bterm">caption</b>="CD Collection Toolbar"
name="CD Collection Toolbar">
<xsf:button action="xCollection::insert" xmlToEdit="CD_10"
caption="New CD" showIf="always"></xsf:button>
<xsf:button action="xCollection::insert" xmlToEdit="Track_14"
caption="New Track" showIf="always"></xsf:button>
<xsf:button action="xOptional::insert" xmlToEdit="Label_16"
caption="New Label" showIf="always"></xsf:button>
<xsf:menu caption="Remove">
<xsf:button action="xCollection::remove" xmlToEdit="CD_10"
caption="CD" showIf="always"></xsf:button>
<xsf:button action="xCollection::remove" xmlToEdit="Track_14"
caption="Track" showIf="always"></xsf:button>
<xsf:button action="xOptional::remove" xmlToEdit="Label_16"
caption="Label" showIf="always"></xsf:button>
</xsf:menu>
</xsf:toolbar></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/xsfatrcaption_3_l.htm"></iframe></span><center><a href="XMLSchemaCopyright_HV01147162.htm">©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&CTT=11&Origin=HV011232471033"
target="_new">http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp</a></center></body></html>
|