ShowTitleAndDescription Method
Description
The ShowTitleAndDescription method specifies whether to show the title/caption and tooltip of the item in the tool tip window.
Syntax
Public Sub ShowTitleAndDescription( _
ByVal ShowTitleAndDescription As Boolean, _
ByVal IconTitle As XTPToolTipIcon _
)
Parameters
- ShowTitleAndDescription:
- True to display the title, tooltip, and icon (specified by IconTitle) of the item in the tool tip window.
-
False to display only the text stored in the tooltip property in the tool tip window. If False, no icon will be displayed in the tool tip window as well.
-
IconTitle:
- Specifies the icon to display in the tool tip window. The following values can be used:
| Value | Description |
|---|---|
| xtpToolTipIconNone | No icon will be displayed in the tool tip window. |
| xtpToolTipIconInfo | The information icon will be displayed in the tool tip window. |
| xtpToolTipIconWarning | The warning icon will be displayed in the tool tip window. |
| xtpToolTipIconError | The error icon will be displayed in the tool tip window. |
Remarks
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.
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 title/caption and tooltip of the item.
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.