How to set the Tooltip on controls in

Tooltip is the small rectangular pop-up window that displays a description of a control when the user rests the pointer on the control.

This example requires a Form that contains a ToolTip control named ToolTip1 and three textbox and button like picture.

Set tooltip
Set tooltip


Private Sub Form1_Load(ByVal sender As System.Object, _
                           ByVal e As System.EventArgs) Handles MyBase.Load
    ToolTip1.SetToolTip(txtFName, "Enter Your first name")
    ToolTip1.SetToolTip(txtLName, "Enter Your last name")
    ToolTip1.SetToolTip(txtAge, "Enter Your age")
    ToolTip1.SetToolTip(btnSave, "Save record")
End Sub