InputPanel for WinForms | ComponentOne
C1.Win.C1InputPanel.4.5.2 Assembly / C1.Win.C1InputPanel Namespace / C1InputPanel Class / ShowToolTip Method / ShowToolTip(String,Control,Int32,Int32,Int32) Method
Text to be displayed in the tooltip.
System.Windows.Forms.Control that the tooltip is associated with.
X coordinate relative to the control where the tooltip is to be displayed.
Y coordinate relative to the control where the tooltip is to be displayed.
Duration of the tooltip, in milliseconds.

In This Topic
    ShowToolTip(String,Control,Int32,Int32,Int32) Method
    In This Topic
    Shows the rich tooltip with the specified text, for the specified control, at the specified position, for a specified amount of time.
    Syntax
    'Declaration
     
    Public Overloads Sub ShowToolTip( _
       ByVal text As String, _
       ByVal control As Control, _
       ByVal x As Integer, _
       ByVal y As Integer, _
       ByVal duration As Integer _
    ) 
    public void ShowToolTip( 
       string text,
       Control control,
       int x,
       int y,
       int duration
    )

    Parameters

    text
    Text to be displayed in the tooltip.
    control
    System.Windows.Forms.Control that the tooltip is associated with.
    x
    X coordinate relative to the control where the tooltip is to be displayed.
    y
    Y coordinate relative to the control where the tooltip is to be displayed.
    duration
    Duration of the tooltip, in milliseconds.
    See Also