Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

changing the hover icon on a link label

Status
Not open for further replies.

michelleHEC

Programmer
Oct 20, 2003
95
US
i have a link label that i would like the hand to be an arrow but i can't figure out how to change it. when i go to the properties of the linklabel and change the cursor it doesn't change it. can it be done?
thanks
 
You need to put it in the mouse_over and mouse_leave events of the link label

Private Sub LinkLabel1_MouseHover(...) Handles LinkLabel1.MouseHover
LinkLabel1.Cursor = Cursors.Hand
End Sub

Private Sub LinkLabel1_MouseLeave(...) Handles LinkLabel1.MouseLeave
LinkLabel1.Cursor = Cursors.Arrow
End Sub

DotNetDoc
M.C.S.D.
---------------------------------------

Tell me and I forget. Show me and I remember. Involve me and I understand.
- Anonymous Chinese Proverb
-----------------------------------
If you can't explain it simply, you don't understand it well enough.
- A. Einstein
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top