tooltip Attribute

Microsoft Office InfoPath

tooltip Attribute

Provides the ScreenTip text to be used for the button.

Type

      xsf:xdTitle
    

Remarks

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

This attribute applies only to buttons used on a toolbar.

Example

The following is an example of the tooltip attribute as it is used in the button element:

    <xsf:toolbar caption="CD Collection Toolbar" name="CD Collection Toolbar">
   <xsf:button action="xCollection::insert" xmlToEdit="CD_10" 
      caption="New CD" showIf="always"
      tooltip="Insert a CD.">
   </xsf:button>
   ...
</xsf:toolbar>