File: vixmlelemAct.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 (33 lines) | stat: -rw-r--r-- 4,750 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
<html dir="ltr"><head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<META HTTP-EQUIV="assetid" CONTENT="HV01085288"><META NAME="lcid" CONTENT="1033"><title>Act 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>Act Element</h1><p>
			<p>Defines custom command names that appear on an object's shortcut menu and specifies the actions that the commands take.</p>
		</p><h2>Syntax</h2><pre><code>
&lt;Act
    [Name]
    [NameU]
    [Del]
    [ID]
    [IX]&gt;
&lt;/Act&gt;
</code></pre><h2>Attributes</h2><p><b class="bterm">Name</b></p><p>Optional string. The name of the element.</p><p><b class="bterm">NameU</b></p><p>Optional string. The universal name of the element.</p><p><b class="bterm">Del</b></p><p>Optional boolean. A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted locally.</p><p><b class="bterm">ID</b></p><p>Optional int. The unique ID of the element within its parent element.</p><p><b class="bterm">IX</b></p><p>Optional int. The zero-based index of the element within its parent element.</p><h2>Element properties</h2><table><tr><th>Property</th><th>Value</th></tr>
			<tr><td>Name</td><td>Act&nbsp;</td></tr>
			<tr><td>Minimum Occurrences</td><td>0&nbsp;</td></tr>
			<tr><td>Maximum Occurrences</td><td>Unbounded&nbsp;</td></tr>
		</table><h2>Element information</h2><p><b class="bterm">Parent elements</b></p><p><a href="vixmlelemPageSheet.htm" id="HV01085573" lcid=""><b class="bterm">PageSheet</b></a></p><p><a href="vixmlelemShape.htm" id="HV01085631" lcid=""><b class="bterm">Shape</b></a></p><p><a href="vixmlelemStyleSheet.htm" id="HV01085684" lcid=""><b class="bterm">StyleSheet</b></a></p><p><a href="vixmlelemDocumentSheet.htm" id="HV01085388" lcid=""><b class="bterm">DocumentSheet</b></a></p><p><b class="bterm">Child elements</b></p><p><a href="vixmlelemMenu.htm" id="HV01085540" lcid=""><b class="bterm">Menu</b></a></p><p><a href="vixmlelemAction.htm" id="HV01085289" lcid=""><b class="bterm">Action</b></a></p><p><a href="vixmlelemChecked.htm" id="HV01085338" lcid=""><b class="bterm">Checked</b></a></p><p><a href="vixmlelemDisabled.htm" id="HV01085382" lcid=""><b class="bterm">Disabled</b></a></p><p><a href="vixmlelemReadOnly.htm" id="HV01085617" lcid=""><b class="bterm">ReadOnly</b></a></p><p><a href="vixmlelemInvisible.htm" id="HV01085477" lcid=""><b class="bterm">Invisible</b></a></p><p><a href="vixmlelemBeginGroup.htm" id="HV01085313" lcid=""><b class="bterm">BeginGroup</b></a></p><p><a href="vixmlelemTagName.htm" id="HV01085691" lcid=""><b class="bterm">TagName</b></a></p><p><a href="vixmlelemButtonFace.htm" id="HV01085329" lcid=""><b class="bterm">ButtonFace</b></a></p><p><a href="vixmlelemSortKey.htm" id="HV01085672" lcid=""><b class="bterm">SortKey</b></a></p><h2>Remarks</h2><p>
			<p>The <b class="bterm">Act</b> element is relevant only when contained in a <a href="vixmlelemShape.htm" id="HV01085631" lcid=" "><b class="bterm">Shape</b></a> or <a href="vixmlelemPageSheet.htm" id="HV01085573" lcid=" "><b class="bterm">PageSheet</b></a> element. It is ignored when contained in a <a href="vixmlelemDocumentSheet.htm" id="HV01085388" lcid=" "><b class="bterm">DocumentSheet</b></a> or <a href="vixmlelemStyleSheet.htm" id="HV01085684" lcid=" "><b class="bterm">StyleSheet</b></a> element.</p>
		</p><h2>Example</h2><p>
			<p>In the following example, the <b class="bterm">Menu</b> element contains the command that appears on the shape's shortcut menu. The <b class="bterm">Action</b> element contains the action to execute when the <b class="bterm">Lock Text</b> command is clicked.</p><pre><code>&lt;Act IX="0"&gt;
  &lt;Menu&gt;Lock Text&lt;/Menu&gt; 
  &lt;Action F="SetF(GetRef(LockTextEdit),TRUE)"&gt;0&lt;/Action&gt; 
  &lt;Checked&gt;0&lt;/Checked&gt; 
  &lt;Disabled&gt;0&lt;/Disabled&gt; 
&lt;/Act&gt;
</code></pre>
		</p><h2>See also</h2><p><a target="_blank" href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vissdk11/html/DSS_Sections_(A-C)_1332.asp" id="HV82251332" lcid=" ">Actions</a> section</p><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>