All of the threads I found about changing the mouse cursor dealt with the Main page. I have a label on a non-Main window. How do I get the mouse cursor to change only when hovering over that label?
Private frmSecondForm As Form'Process Global
Private Sub Label1_MouseEntered(EventData As MouseEvent)
frmSecondForm.RootPane.MouseCursor = fx.Cursors.OPEN_HAND
EndSub
Private Sub Label1_MouseExited(EventData As MouseEvent)
frmSecondForm.RootPane.MouseCursor = fx.Cursors.DEFAULT
EndSub
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.