if i have three images indexed (image1(0) image1(1) image1(2)) How to i determine if i click a certain one instead of all of them.
Printable View
if i have three images indexed (image1(0) image1(1) image1(2)) How to i determine if i click a certain one instead of all of them.
The click event and any other event gets the Index value as a parameter:
VB Code:
Private Sub image1_Click(Index As Integer) MsgBox "You clicked index " & Index End Sub
thank you that worked