Click to See Complete Forum and Search --> : Click Event in User Control


Carlos
04-23-2002, 06:56 PM
I have a user control that has among other things a label, the user control
fires up the click event ok, but if the click happens in the label in the
control the event does not fire, not even the label1_click event.

Help please.

Thank You

Michael Culley
04-24-2002, 06:55 AM
Does the event still have the handles keyword on the end?

Private Sub Label1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Label1.Click

--
Michael Culley
www.vbdotcom.com


"Carlos" <tcordonb@hotmail.com> wrote in message news:3cc5e2a0@10.1.10.29...
> I have a user control that has among other things a label, the user
control
> fires up the click event ok, but if the click happens in the label in the
> control the event does not fire, not even the label1_click event.
>
> Help please.
>
> Thank You
>
>

Carlos
04-24-2002, 11:21 AM
Yes it does

Thanks


"Michael Culley" <m_culley@hotmail.com> wrote in message
news:3cc68a83@10.1.10.29...
> Does the event still have the handles keyword on the end?
>
> Private Sub Label1_Click(ByVal sender As System.Object, ByVal e As
> System.EventArgs) Handles Label1.Click
>
> --
> Michael Culley
> www.vbdotcom.com
>
>
> "Carlos" <tcordonb@hotmail.com> wrote in message
news:3cc5e2a0@10.1.10.29...
> > I have a user control that has among other things a label, the user
> control
> > fires up the click event ok, but if the click happens in the label in
the
> > control the event does not fire, not even the label1_click event.
> >
> > Help please.
> >
> > Thank You
> >
> >
>
>