SftTree/OCX 7.0

SftTree.ToolTipCell Event

Softel vdm, Inc.

A cell ToolTip is about to be displayed.

Syntax       

VB.NET

Private Sub object_ToolTipCell(ByVal sender As Object, ByVal e As EventArgumentType) Handles object.ToolTipCell

VB

Private Sub object_ToolTipCell(Text As String, ByVal ItemIndex As Long, ByVal ColIndex As Integer)

C#.NET

void object_ToolTipCell(object sender, EventArgumentType e);

VC++

void OnToolTipCellobject(_bstr_t* Text, long ItemIndex, short ColIndex);

C

HRESULT OnToolTipCellobject(BSTR* Text, long ItemIndex, short ColIndex);

Delphi

procedure objectToolTipCell(Sender: TObject; var Text : WideString; ItemIndex : Integer; ColIndex : Smallint);

object

A SftTree object.

Text

The default cell ToolTip text.  An application can override the default text by assigning a new string to the Text parameter.  This string is displayed as an explanatory ToolTip relative to the mouse cursor.  It is not possible to override ToolTip text that is displayed in the cell's location.  If Text is set to an empty string, no ToolTip is displayed.  A maximum string length of 1000 characters is supported.

ItemIndex

The zero-based item index.  The combination of ItemIndex and ColIndex describes an individual cell.

ColIndex

The zero-based column number.  The combination of ItemIndex and ColIndex describes an individual cell.

Comments

The ToolTipCell event occurs when a cell ToolTip is about to be displayed.

ToolTips are enabled for each column individually (see Column.ToolTip).  It is also possible to display ToolTips even if the cells are already completely visible (see Items.ToolTipAlways property).

See Also  SftTree Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com