SftBox/OCX 4.5

SftBox.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 ColNum As Integer)

C#.NET

void object_ToolTipCell(object sender, EventArgumentType e);

VC++

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

C

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

Delphi

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

object

A SftBox object.

Text

The default cell ToolTip text. The 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 index of the item for which the ToolTip is displayed.

ColNum

The zero-based number of the column for which the ToolTip is displayed.

Comments

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

The combo box should not be updated in any way while handling this event.


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