CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Usercontrol

  1. #1
    Guest

    Usercontrol

    I created a usercontrol and added a event declaration .
    I raised the event inside this usercontrol thru aprocedure.
    Now i opened a form and placed the usercontrol.
    And i wrote a code under the usercontrol _eventspecifedby me .But the event is never raised
    I just placed a text box as user control
    Why ?

    If possible please give a small example so that i can verify where i went wrong.



  2. #2
    Join Date
    Dec 1999
    Location
    Tel Aviv, Israel, Earth, Solar System
    Posts
    50

    Re: Usercontrol

    Have you declared your UC using 'WithEvents' ? If not, check the assosiated help.

    Jean Spector
    Tech Support Team Leader, CET
    [email protected]
    (in VB from 11/1999)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured