Softelvdm.Controls Class Library for Windows Controls 1.0

ShowToolTip Method, ToolTipClass Class

Softel vdm, Inc.

Displays a balloon-style tooltip.

Syntax      ToolTipClass Class (Softelvdm.Controls)

VB   

Public Shared Sub ShowToolTip( _
     ByVal control As SoftelvdmUserControl, _
     ByVal locToolTip As Point, _
     ByVal icon As ToolTipIcon, _
     ByVal title As String, _
     ByVal text As String, _
     ByVal arrowLoc As ArrowLocationEnum )

C#   

public static void ShowToolTip(
     SoftelvdmUserControl control,
     Point locToolTip,
     ToolTipIcon icon,
     string title,
     string text,
     ArrowLocationEnum arrowLoc );

C++   

public: static void ShowToolTip(
     SoftelvdmUserControl^ control,
     Point locToolTip,
     ToolTipIcon icon,
     String^ title,
     String^ text,
     ArrowLocationEnum arrowLoc );

arrowLoc

The location of the balloon's arrow.

ArrowLocationEnum

Value

Description

TopLeft

0

The stem is anchored near the left of the top side of the tooltip window.

TopRight

1

The stem is anchored near the right of the top side of the tooltip window.

RightTop

2

The stem is anchored near the top of the right side of the tooltip window.

RightBottom

3

The stem is anchored near the bottom of the right side of the tooltip window.

BottomLeft

4

The stem is anchored near the right of the bottom side of the tooltip window.

BottomRight

5

The stem is anchored near the left of the bottom side of the tooltip window.

LeftTop

6

The stem is anchored near the top of the left side of the tooltip window.

LeftBottom

7

The stem is anchored near the bottom of the left side of the tooltip window.

control

The control owning the tooltip. Only .NET controls published by Softel vdm, Inc. can own and use tooltips offered by this method.

icon

The icon style.

ToolTipIcon

Value

Description

None

0

Not a standard icon.

Info

1

An information icon.

Warning

2

A warning icon.

Error

3

An error icon

locToolTip

The location pointed at by the ballon's arrow, relative to the top, left corner of the control.

text

The single or multiline text to display.

title

The title string or an empty string to omit the title.

Comments

The ShowToolTip method displays a balloon-style tooltip.

This tooltip can be used to bring information to the user's attention. It is unrelated to cell tooltips and scrolltips.

Version Information

Supported in version 1.0.
Products Table


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