I've 100 buttons created dynamically in a form. How can I an add event handler to them?
Question&Answers:osI've 100 buttons created dynamically in a form. How can I an add event handler to them?
Question&Answers:osYou can use AddHandler to add a handler for any event.
For example, this might be:
AddHandler theButton.Click, AddressOf Me.theButton_Click