Results 1 to 8 of 8

Thread: Passing events

Threaded View

  1. #1

    Thread Starter
    I wonder how many charact
    Join Date
    Feb 2001
    Location
    Savage, MN, USA
    Posts
    3,704

    Passing events

    Say you built a usercontrol....

    and this user control creates a bunch of buttons on it with the names of strings contained in a collection....

    So...

    dim r as new usercontrol1(myStringCollection)


    Now, for as many x amount of strings there are in this collection, you have x amount of buttons...

    How would you pass the Click event of each dynamic created button back to the parent form of this usercontrol, to let it know a selection was made?
    Last edited by nemaroller; Apr 25th, 2003 at 02:01 PM.

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