M
Merlin
I have created a UserControl which has a label; what I wish to do is place
this UserControl on a form and then trap the Mouse Down event, whenever
someone clicks my control. My problem is that the Mouse Down event for the
UserControl is not detected if the mouse cursor is placed over the label
inside the control, i.e the label within the control has trapped the event
so I don't get to see it.
I've looked at adding the label mousedown handle event to the controls
mousedown, but that doesn't work either; I can get around this easy enough
by making my own event handler - but just wondered if there were another
way.
Thanks,
Merlin
this UserControl on a form and then trap the Mouse Down event, whenever
someone clicks my control. My problem is that the Mouse Down event for the
UserControl is not detected if the mouse cursor is placed over the label
inside the control, i.e the label within the control has trapped the event
so I don't get to see it.
I've looked at adding the label mousedown handle event to the controls
mousedown, but that doesn't work either; I can get around this easy enough
by making my own event handler - but just wondered if there were another
way.
Thanks,
Merlin