Customizer's Guide > Working with XUI (XML-based User Interface) Dialog Boxes > XUI Element Reference > <menuitem> Element
  
<menuitem> Element
The <menuitem> element creates a list of menu selections (including submenus). The element can have the following child elements:
<menuitem>, <script>
The <menuitem> element has the following attributes:
checked = true | false
Default is false. If true, the control has a checked state.
command = CDATA
Specifies the Arbortext ACL command to execute.
id = ID
Identifies the control.
image = IDREF
Specifies by reference the graphical image to be displayed in this control. The value of image matches the value of the image element id attribute specifying the desired graphic file.
label = CDATA
Specifies the text to display for the list item.
shortcut = CDATA
Specifies the keyboard shortcut for selecting this control.
type = button | radio | separator | toggle
Specifies the type of menu item.
button — The menu item is displayed as a button. When selected, the button will execute the actions defined by a script child element.
radio — The menu item is displayed as a radio button. When selected, the button will execute the actions defined by a script child element.
separator — The menu item appears as a separation line between adjacent items.
toggle — When activated, the item will execute the actions defined by a <script> child element and display showing it has been activated. When deactivated, the item is displayed showing it is not activated.
withdraw = true | false
Default is false. If true, the control (and any children) is ignored and not displayed.