Type | Description | |||
Index as Long | A long expression that indicates the index of the item. | |||
ColIndex as Variant | A long expression that indicates the column's index, or a string expression that indicates the column's caption or column's key. | |||
String | A string expression that indicates the cell's tooltip. |
Use the CellToolTip property to associate a tooltip to a cell. By default, the CellToolTip property is "..." ( three dots ). If the CellToolTip property is "..." the control shows a tooltip that displays the cell's caption if the cell's caption doesn't fit the cell's client area. Use the Caption property to change the cell's caption. Use the ToolTipWidth property to specify the width of the tooltip window. The ToolTipPopDelay property specifies the period in ms of time the ToolTip remains visible if the mouse pointer is stationary within a control. The ToolTipDelay property specifies the time in ms that passes before the ToolTip appears. Use the ToolTipFont property to assign a font for the control's tooltip. Use the ShowToolTip method to display a custom tooltip.
The tooltip supports the foolowing HTML tags:
The control supports expandable HTML captions feature which allows you to expand(show)/collapse(hide) different information using <a ;exp=> or <a ;e64=> anchor tags. The exp/e64 field of the anchor stores the HTML line/lines to show once the user clicks/collapses/expands the caption.
Any ex-HTML caption can be transformed to an expandable-caption, by inserting the anchor ex-HTML tag. For instance, <solidline><b>Header</b></solidline><br>Line1<r><a ;exp=show lines>+</a><br>Line2<br>Line3 shows the Header in underlined and bold on the first line and Line1, Line2, Line3 on the rest. The show lines is shown instead of Line1, Line2, Line3 once the user clicks the + sign.
or <font ;31><sha 404040;5;0><fgcolor=FFFFFF>outline anti-aliasing</fgcolor></sha></font> gets: