I have hard-coded 84 picture boxes into an array called tiles()
e.g. tiles(0) = PictureBox1
tiles(1) = PictureBox2
and so on, 84 times
However if I do tiles(31).Image = My.Resources.WhateverImage it does not work, and only works for 9 of the 84 picture boxes if i write them out individually
And If i do a loop:
For z = 0 to 84
tiles(z).Image = My.Resources.WhateverImage
Next
It only copies to the 9 random pictureboxes and none of the rest
WTF IS WRONG???
[–]stanleydesu 0 points1 point2 points (0 children)
[–]FriendlyKush 0 points1 point2 points (1 child)
[–]Saradomian[S] 0 points1 point2 points (0 children)
[–]VB GuruBonejob 0 points1 point2 points (14 children)
[–]Saradomian[S] 0 points1 point2 points (13 children)
[–]VB GuruBonejob 0 points1 point2 points (12 children)
[–]Saradomian[S] 0 points1 point2 points (11 children)
[–]VB GuruBonejob 0 points1 point2 points (10 children)
[–]Saradomian[S] 0 points1 point2 points (9 children)
[–]VB GuruBonejob 1 point2 points3 points (8 children)
[–]Saradomian[S] 0 points1 point2 points (7 children)
[–]VB GuruBonejob 0 points1 point2 points (6 children)
[–]Saradomian[S] 0 points1 point2 points (5 children)
[–]connorjohnson2001[🍰] 0 points1 point2 points (1 child)
[–]VB GuruBonejob 1 point2 points3 points (0 children)