XTPToolTipIcon Enumeration
Description
Specifies the icon that will be displayed in the tool tip window when displaying the title and description of the control using the ShowTitleAndDescription method.
Members
| Member | Description |
|---|---|
| xtpToolTipIconNone | No icon will be displayed in the tool tip window. |
| xtpToolTipIconInfo | |
| xtpToolTipIconWarning | |
| xtpToolTipIconError |
Remarks
The XTPToolTipIcon enumeration is used to specify which icon should be displayed in the tooltip window when using the ShowTitleAndDescription method. The text that will be displayed in the tool tip window will be the Caption and DescriptionText of the CommandBar Control.
Note: The ToolTipText property is not used to display text in the tool tip window when using the ShowTitleAndDescription method for CommandBar Controls. The text stored in the ToolTip property will be displayed for all other objects.
The picture below illustrates a tooltip window that is displayed when using the ShowTitleAndDescription method to display the xtpToolTipIconInfo icon. Note that this displays the Caption and DescriptionText of the CommandBar controls and not the ToolTipText.

Requirements
The ShowTitleAndDescription method requires Internet Explorer 5.0 or above to be installed. The IsBalloonStyleSupported method can be used to determine if the ShowTitleAndDescription method is supported.
Example
ShowTitleAndDescription Sample (Visual Basic)
This sample illustrates how to display a tool tip window that displays the Caption, DescriptionText, and XTPToolTipIcon.
CommandBars.ToolTipContext.ShowTitleAndDescription True, xtpToolTipIconInfo
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.