Skip to content

peTooltipStyle - cCJGrid

Determines the style of the tool tip window

Type: Property
Access: Read/Write
Data Type: XTPToolTipStyle
Parameters: None

Syntax

Property XTPToolTipStyle peTooltipStyle
Access Type Syntax
Read Access: Get peTooltipStyle to XTPToolTipStyleVariable
Write Access: Set peTooltipStyle to XTPToolTipStyleVariable/Value

Description

Valid values are:

Constant Meaning
xtpToolTipStandard Tool tips will use the Standard window style. The tool tips window will be in the shape of a rectangle with a solid dark border around it.
xtpToolTipBalloon Tool tips will use the Balloon window style. The tool tip window will be in the shape of a balloon.
xtpToolTipOffice Tool tips will use the Office window style. The tool tips window will be in the shape of a rectangle with a dark border on the right and bottom sides and a light border on the top and left sides.
xtpToolTipRTF Tool tips will use the Rich-Text Format (RTF) window style. The tool tips window will be in the shape of a rectangle with a solid dark border around it. If the text stored in the ToolTipText property is in RTF format, the tool tip will be displayed using the RTF formatting. This includes font, font size, color, bullets, etc.
xtpToolTipLuna ToolTips will use the Windows Xp Luna color gradient as the back color of the tooltip window. The color depends on the appearance style of the operating system.
xtpToolTipResource Tooltip will use the Office 2007 window style.
xtpToolTipHTML Tooltip will use HTML formatting to format the tooltip. This allows you to insert HTML objects such as tables or use HTML formatting such as font, bold, etc.
xtpToolTipMarkup Tooltip will use XAML MarkUp formatting to format the tooltip. You must use the grid's internal cComToolTipContext object in order to use this style. Refer to the CodeJock Report Control documentation for further details.

Tooltip text values for a column header are determined automatically by the column's psCaption property. This value can be overridden by setting the column's psTooltip property.

Tooltips for individual cells can be set via the column's OnGetTooltip event.

Requirements

The xtpToolTipBalloon style requires Internet Explorer 5.0 or above to be installed. The ComIsBalloonStyleSupported method can be used to determine if the style is supported.