Share via


caption Attribute (button Element)

Provides the caption displayed on the button.

Type

xsf:xdTitle

Remarks

The caption attribute is an optional attribute of the button element.

Example

The following is an example of the caption attribute as it is used in the button 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" 
         caption="Label"></xsf:button>
   </xsf:menu>
</xsf:menuArea>

Parent Objects | button Element