SftBox/OCX 4.5

SftBox.ToolTipVScroll Event

Softel vdm, Inc.

A ScrollTip is about to be displayed.

Syntax       

VB.NET

Private Sub object_ToolTipVScroll(ByVal sender As Object, ByVal e As EventArgumentType) Handles object.ToolTipVScroll

VB

Private Sub object_ToolTipVScroll(Text As String, ByVal ItemIndex As Long, ByVal ColNum As Integer)

C#.NET

void object_ToolTipVScroll(object sender, EventArgumentType e);

VC++

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

C

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

Delphi

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

object

A SftBox object.

Text

The default ScrollTip text. The application can override the default text by assigning a new string to the Text parameter. This string is displayed as the ScrollTip instead. If Text is set to an empty string, no ScrollTip is displayed. A maximum string length of 1000 characters is supported.

ItemIndex

The zero-based index of the first item currently displayed in the drop down portion (see Items.Top).

ColNum

The zero-based number of the first column displayed.

Comments

The ToolTipVScroll event occurs when a ScrollTip 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