Array of Buttons WithEvents

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

In VB.net I am trying to make an array of dynamically generated buttons. I
can do that but I cant figure out how to get them to work "WithEvents."

Can someone tell me if and how this can be done?

Thanks,
Craig
 
to dynamicly created controls ,, you can programaticly add handlers for the
events you might want to catch

regards

Michel posseth
 
Craig said:
In VB.net I am trying to make an array of dynamically generated buttons. I
can do that but I cant figure out how to get them to work "WithEvents."

Can someone tell me if and how this can be done?

F1 (Help) + 'AddHandler' statement.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top