Hi Guys
I am trying to write code that will change font color of the label on mouse move event of that label. It works fine but I also want to write code to change the color back to grey when mouse move event doesn't occur on that Label.
SO basically changing fontcolor to red on mouse move event of that label but otherwise when there is no mouse event on that label change is back to original color.
Thanks
I am trying to write code that will change font color of the label on mouse move event of that label. It works fine but I also want to write code to change the color back to grey when mouse move event doesn't occur on that Label.
SO basically changing fontcolor to red on mouse move event of that label but otherwise when there is no mouse event on that label change is back to original color.
Code:
Private Sub lblDeclaration_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Me.lblDeclaration.ForeColor = vbRed
End Sub
Thanks