dynamic buttons

  • Thread starter Thread starter PCH
  • Start date Start date
P

PCH

I want to dynamically create buttons based on a # input by the user. The
problem is i cant seem to build the click event for them. I cant even
assign the button a name or ID either.

Thanks.
 
I'm assuming you're a VB.NET guy (like me). Use AddHandler to attach the
events, and RemoveHandler when you are done.
 
Ah ok I'll try that out thanks.


Justin Weinberg said:
I'm assuming you're a VB.NET guy (like me). Use AddHandler to attach the
events, and RemoveHandler when you are done.

--
Justin Weinberg

Designing a PrintDocument? Drawing to forms?
Check out GDI+ Architect at www.mrgsoft.com
 
Back
Top