Dynamic Button Array Event Handler

P

Peter

Does anyone have an example of how to handle double click event in one method (all of the buttons in the array would use the same method) for an array of buttons that were created dynamically?


Thanks


Peter
 
J

Joergen Bech

Look up the AddHandler statement in the documentation.

Create a common event handler and add the handlers manually.

/JB
 
P

Peter

Thank you, that's what I needed.

Joergen Bech @ post1.tele.dk> said:
Look up the AddHandler statement in the documentation.

Create a common event handler and add the handlers manually.

/JB
 

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

Top