mjwsoft

How can i change the borderstyle to fixed3d on mouseover. I have tried lblpurple.borderstyle.fixed3d in the mouseover sub but then it says i should change it to "borderstyle.fixed3d". So i change it to that and then it says that the expression is not a method, even if i dont change it it does not change on a mouseover .

Thanks,

Mitchell


Re: Visual Basic Express Edition Changing Border Style on Mouseover

Dave299

The MouseOver sub

This works for me

Private Sub Label1_MouseEnter(ByVal sender As Object, ByVal e As System.EventArgs) Handles Label1.MouseEnter

Label1.BorderStyle = BorderStyle.Fixed3D

End Sub

Private Sub Label1_MouseLeave(ByVal sender As Object, ByVal e As System.EventArgs) Handles Label1.MouseLeave

Label1.BorderStyle = BorderStyle.None

End Sub





Re: Visual Basic Express Edition Changing Border Style on Mouseover

Jigsaw Software

Thanks, cant believe i didnt think of that actually >.<