[Year 12 SofDev] creating event handlers for multiple code created objects

Ben Hines b.hines at ccg.vic.edu.au
Thu Mar 28 14:52:23 EST 2013


Hi guys (happy end of term 1).

I keep running into the issues of not being able to create an event handler for an array of code created objects.

For example, I use a for loop to create a whole heap of picture boxes that I assign to an array.

For some reason when I try to connect those picture boxes in the for loop to an event handler, the even never runs.

However, if I just do it to a single object it works fine...

Has anyone ever come across this (I use VB.net)

Thanks

Ben Hines


Ben Hines
Mathematics and ICT Teacher
Senior Campus
(03)5241 1577

[Christian College Geelong]

[https://www.ccg.vic.edu.au/email/images/Enviro.jpg] Please consider the environment before printing this email.

-- 
This e-mail is intended for the use of the named individual or entity and may contain confidential and privileged information. Any dissemination, distribution or copying by anyone other than the intended recipient of this e-mail is strictly prohibited. If this e-mail has been received in error, then please notify Christian College or the author of this email immediately and destroy the original message. We have made every attempt to ensure this e-mail message is free from computer viruses however the attached files are provided on the basis that the user assumes all responsibility for use of the material transmitted. Views, opinions, etc. expressed reflect those of the author and not Christian College nor its associated companies and campuses which includes Eden Quality Services Pty Ltd.

Message  protected by MailGuard: e-mail anti-virus, anti-spam and content filtering.
http://www.mailguard.com.au


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.edulists.com.au/pipermail/sofdev/attachments/20130328/45efc818/attachment.html 


More information about the sofdev mailing list