caption Attribute (menu Element)
Used as the caption for a menu.
Type
xsf:xdTitle
Remarks
The caption attribute is a required attribute of the menu element.
When used for a menu that is nested within a view, the caption is the top-level menu caption; when used for a menu that is nested within a toolbar, the caption is for the button on a drop-down menu; and when used for a menu that is nested inside another menu (cascading menu), the caption is the sub-menu caption.
Example
The following is an example of the caption attribute as it is used in the menu element:
<xsf:menuArea name="msoInsertMenu">
<xsf:menu caption="&Section">
<xsf:button action="xCollection::insert" xmlToEdit="CD_10"
caption="CD" showIf="always"></xsf:button>
<xsf:button action="xCollection::insert" xmlToEdit="Track_14"
caption="Track" showIf="always"></xsf:button>
<xsf:button action="xOptional::insert" xmlToEdit="Label_16"
caption="Label"></xsf:button>
</xsf:menu>
</xsf:menuArea>