ShowToolTip(String,Control,Point,Int32) Method
Shows the rich tooltip with the specified text, for the specified control, at the specified position, for a specified amount of time.
'Declaration
Public Overloads Sub ShowToolTip( _
ByVal As String, _
ByVal As Control, _
ByVal As Point, _
ByVal As Integer _
)
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.