VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



A simple code that highlights the label when the mouse is pointing it!

by Irwin Cansejo (1 Submission)
Category: Miscellaneous
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Mon 19th January 2004
Date Added: Mon 8th February 2021
Rating: (1 Votes)

A simple code that highlights the label when the mouse is pointing it!

Rate A simple code that highlights the label when the mouse is pointing it!



Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Label1.ForeColor = &H80000012
Label1.FontUnderline = False
End Sub

Private Sub Label1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Label1.ForeColor = &HFF0000
Label1.FontUnderline = True
End Sub


Download this snippet    Add to My Saved Code

A simple code that highlights the label when the mouse is pointing it! Comments

No comments have been posted about A simple code that highlights the label when the mouse is pointing it!. Why not be the first to post a comment about A simple code that highlights the label when the mouse is pointing it!.

Post your comment

Subject:
Message:
0/1000 characters