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 As System.String, _
ByVal As System.Windows.Forms.Control, _
ByVal As System.Drawing.Point, _
ByVal As System.Integer _
)
public void ShowToolTip(
System.string ,
System.Windows.Forms.Control ,
System.Drawing.Point ,
System.int
)
Parameters
- text
- Text to be displayed in the tooltip.
- control
- System.Windows.Forms.Control that the tooltip is associated with.
- pt
- System.Drawing.Point relative to the control where the tooltip is to be displayed.
- duration
- Duration of the tooltip, in milliseconds.
See Also