DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: Click Event in User Control

  1. #1
    Carlos Guest

    Click Event in User Control

    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



  2. #2
    Michael Culley Guest

    Re: Click Event in User Control

    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
    >
    >




  3. #3
    Carlos Guest

    Re: Click Event in User Control

    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
    > >
    > >

    >
    >




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center