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
 

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

Back
Top