ITT Tech Student
Member
I'm trying to create a control array using picture boxes. basically in the end i want to be able to click the picturebox which is in an array and have it call an event. it needs to pass the index value of the picturebox clicked for the program to work
so far i've added an event handler but im not doing something right:
AddHandler PictureBox1.click, AddressOf PictureBox1_Click
it doesn't even call the sub routine. it tells me that .click is not an event of a one dimensional array
any advice.
so far i've added an event handler but im not doing something right:
AddHandler PictureBox1.click, AddressOf PictureBox1_Click
it doesn't even call the sub routine. it tells me that .click is not an event of a one dimensional array
any advice.