Home All Groups Group Topic Archive Search About

Mouseover event with a Label

Author
25 Jun 2009 8:26 PM
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

Author
25 Jun 2009 9:15 PM
Lloyd Sheen
Show quote Hide quote
"Anil Khemchandani" <AnilKhemchand***@discussions.microsoft.com> wrote in
message news:22534815-0180-4240-A5E2-0C2425220B40@microsoft.com...
> 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
Author
26 Jun 2009 2:36 AM
Family Tree Mike
Show quote Hide quote
"Anil Khemchandani" <AnilKhemchand***@discussions.microsoft.com> wrote in
message news:22534815-0180-4240-A5E2-0C2425220B40@microsoft.com...
> 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?

--
Mike
Author
26 Jun 2009 7:31 AM
Cor Ligthert[MVP]
A mouse hover event in an ASP.Net application?

Show quoteHide quote
"Family Tree Mike" <FamilyTreeM***@ThisOldHouse.com> wrote in message
news:1B15750D-771F-4A06-A212-FCEFCD799DF8@microsoft.com...
> "Anil Khemchandani" <AnilKhemchand***@discussions.microsoft.com> wrote in
> message news:22534815-0180-4240-A5E2-0C2425220B40@microsoft.com...
>> 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?
>
> --
> Mike
Author
26 Jun 2009 12:34 PM
Family Tree Mike
"Cor Ligthert[MVP]" wrote:

> 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