Click to See Complete Forum and Search --> : Usercontrol


January 6th, 2000, 11:17 AM
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.

Jean Spector
January 6th, 2000, 11:41 AM
Have you declared your UC using 'WithEvents' ? If not, check the assosiated help.

Jean Spector
Tech Support Team Leader, CET
mage@lycosmail.com
(in VB from 11/1999)