using event on label

  • Thread starter Thread starter Tony
  • Start date Start date
T

Tony

Hello!

I have read in a book that's possible to have event on label.
I can't see any point at all to have event on label.

Can anybody explain to me if there might be some point having that ?

//Tony
 
I have read in a book that's possible to have event on label.
I can't see any point at all to have event on label.

Can anybody explain to me if there might be some point having that ?

What exactly do you mean by "have event on label"? There are various
events which *are* available on the Windows Forms Label class. It can
be useful to know if a user has moused over a label, or hovered over
it etc. While I wouldn't usually encourage labels to react to being
clicked on, I dare say there are occasional uses for it...

Jon
 
Hello!

I have read in a book that's possible to have event on label.
I can't see any point at all to have event on label.

Can anybody explain to me if there might be some point having that ?

//Tony

You might want to move the label with the mouse, or maybe you want to
know when the user clicked on it, etc.
 
Hello!

I have read in a book that's possible to have event on label.
I can't see any point at all to have event on label.

Can anybody explain to me if there might be some point having that ?

//Tony

I use labels as buttons on a 3rd Navbar controls.
I use the mouseenter,mouseleave and click event.
Its gives it a web like look...
 

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

Back
Top