Defines custom command names that appear on an object's shortcut menu and specifies the actions that the commands take.
<Act
[Name]
[NameU]
[Del]
[ID]
[IX]>
</Act>
Name
Optional string. The name of the element.
NameU
Optional string. The universal name of the element.
Del
Optional boolean. A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted locally.
ID
Optional int. The unique ID of the element within its parent element.
IX
Optional int. The zero-based index of the element within its parent element.
Property | Value |
---|---|
Name | Act |
Minimum Occurrences | 0 |
Maximum Occurrences | Unbounded |
Parent elements
Child elements
The Act element is relevant only when contained in a Shape or PageSheet element. It is ignored when contained in a DocumentSheet or StyleSheet element.
In the following example, the Menu element contains the command that appears on the shape's shortcut menu. The Action element contains the action to execute when the Lock Text command is clicked.
<Act IX="0">
<Menu>Lock Text</Menu>
<Action F="SetF(GetRef(LockTextEdit),TRUE)">0</Action>
<Checked>0</Checked>
<Disabled>0</Disabled>
</Act>
Actions section