Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

caption Attribute (menu Element)

Office 2007

Used as the caption for a menu.




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.


The following is an example of the caption attribute as it is used in the menu element:

<xsf:menuArea name="msoInsertMenu">
   <xsf:menu caption="&amp;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" 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.