Talk2Tom11 Posted March 23, 2004 Posted March 23, 2004 I am trying to turn the forecolor of a label to a different color when the mouse goes over it but I am having some errors... this is my code: Private Sub Label1_MouseHover(ByVal sender As Object, ByVal e As System.EventArgs) Handles Label1.MouseHover Label1.ForeColor.Yellow() End Sub Private Sub Label1_MouseLeave(ByVal sender As Object, ByVal e As System.EventArgs) Handles Label1.MouseLeave Label1.ForeColor.White() End Sub I am getting an error on Label1.Forecolor.yellow() Label1.Forecolor.white() Quote
Administrators PlausiblyDamp Posted March 23, 2004 Administrators Posted March 23, 2004 Label1.ForeColor = Color.Yellow Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.