Heres what I meant.
VB Code:
Dim i As Integer Static clickcount As Integer clickcount = clickcount + 1 lblCover(Index).Visible = False For i = 0 To 15 If lblCover(i).Visible = False Then If clickcount = 2 Then picSecond.Picture = imgPicture(i).Picture picSecond.tag = i clickcount = 0 ' reset Else picFirst.Picture = imgPicture(i).Picture picFirst.tag = i End If End If Next i Call CheckMatch ' if picFirst.tag = picSecond.tag then pictures are the same




Reply With Quote