Tuesday, May 5, 2015

How to get TabPages to show Delete button indicator. Help!

How did you implement the x delete button? Which control you used, for example the Label has two envents hover and leave that you can use for this purpose:

 Private Sub Label1_MouseHover(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Label1.MouseHover
        Label1.Text = "hover"
    End Sub

    Private Sub Label1_MouseLeave(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Label1.MouseLeave
        Label1.Text = "leave"
    End Sub


Fouad Roumieh

No comments:

Post a Comment