Search results for query: *

  1. V

    Determining which control in an array has been clicked

    hmmmmmm hmm, thanks :) but how do I do this with an array? Dim PictureBoxes(10) As PictureBox = CType(Sender, PictureBox) brings up this error: "Explicit initialization is not permitted for arrays declared with explicit bounds". If I enter this code: Dim PictureBoxes(i) as New PictureBox =...
  2. V

    Determining which control in an array has been clicked

    I have created an array of picture boxes and set an AddHandler to the array eg AddHandler PictureBox(i).Click, AddressOf PictureBox_Click However, I want to be able to determine which picture box within the array has been called. For example, if it is the first control in the array is...
Back
Top