User Control Events - HELP

  • Thread starter Thread starter Timothy V
  • Start date Start date
T

Timothy V

Hi everyone,
I hope you can help me. I have a User Control, which has a Label that covers
the entire control. I want to assign a MouseClick event to the User Control,
however, the event does not fire because the click fires the MouseClick
event on the Label rather than the User Control.

Is there a way to have this work by firing the MouseClick event on the User
Control?

Thanks in advance,

Timothy.
 
Hi Timothy,
why don't you just call the method you want to execute in the user control
in the mouse click event of the label i.e. the mouse click on the label and
the mouse click on the form both call the same method?

Mark.
 
Well, I could :-) But what if i have 50 controls in the user control (i
simplified the example here). I just wanted to know if there is an easy way
:-) Is there?
 
Back
Top