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.
 
Back
Top