I think you can do something like this inside the UserControl.
Class MyUserControl
Sub Control_DoubleClick(~) Handles [list all controls]
RaiseEvent DoubleClick(~)
End Sub
End Class
--
Jonathan Allen
> Any idea how to do this? I see events can be 'bubbled up'
> using ASP.Net but not with Windows.Forms??!!!
> M
> >-----Original Message-----
> >Pass the sub-control's DoubleClick to the control's
> DoubleClick?
> >--
> >Jonathan Allen
> >> Hi
> >> I've created a control, based on a
> >> System.Windows.Forms.UserControl. This control has
> other
> >> controls on it. e.g. TextBox, label etc. I've now
> placed
> >> my new user-control onto a form and want the new
> control
> >> as a whole, to respond to a double-click. However, the
> >> individual controls are responding to the double-click,
> >> depending on what control the mouse is over. How can I
> >> get my user control to respond 'globally' to a double
> >> click event?
> >> Thanks
> >> M
> >.