Mouseover event with a Label

A

Anil Khemchandani

Hello,

I am trying to create a mouseover event in .net and show a hand icon on a
label to make it appear like a link. I cannot use a text use a textlink or a
image link for design reasons. Can anyone help me or give me the syntax to
launch this icon from the mouseover event.

Thanks and looking forward to some help real soon.

Anil
 
L

Lloyd Sheen

Anil Khemchandani said:
Hello,

I am trying to create a mouseover event in .net and show a hand icon on a
label to make it appear like a link. I cannot use a text use a textlink or
a
image link for design reasons. Can anyone help me or give me the syntax to
launch this icon from the mouseover event.

Thanks and looking forward to some help real soon.

Anil

You don't need to do that. Simply change the Cursor property of the label
to the cursor you wish to display. You can do that in the form designer.

Hope this helps
LS
 
F

Family Tree Mike

Anil Khemchandani said:
Hello,

I am trying to create a mouseover event in .net and show a hand icon on a
label to make it appear like a link. I cannot use a text use a textlink or
a
image link for design reasons. Can anyone help me or give me the syntax to
launch this icon from the mouseover event.

Thanks and looking forward to some help real soon.

Anil


Is this a windows forms app or an asp.net app?
 
F

Family Tree Mike

Cor Ligthert said:
A mouse hover event in an ASP.Net application?

Anil asked about mouse over, not mouse hover.
<label onmouseover="alert('Boo!')">I Am A Label</label>, for example.

Mike
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top