well i have 14 pictureboxes and 14 buttons. the buttons are over the pictureboxes. i'm struggling to get the buttons to become visible = true again after they have been clicked. i used a timer. just look at this its hard to explain
Code:
button_1 = 1
count = count + 1
If PictureBox1.Tag = "major2nd1" And Button12.Visible = False Then
Timer1.Stop()
Timer2.Stop()
Timer3.Stop()
Button1.Visible = False
ElseIf PictureBox1.Tag = "perfect4th1" And Button10.Visible = False Then
Timer1.Stop()
Timer2.Stop()
Timer3.Stop()
Button1.Visible = False
ElseIf PictureBox1.Tag = "perfect5th1" And Button10.Visible = False Then
Timer1.Stop()
Timer2.Stop()
Timer3.Stop()
Button1.Visible = False
ElseIf PictureBox1.tag = "major2nd1" and count = 1 + 1 Then
Timer1.Start()
Timer2.Stop()
Timer3.Stop()
count = 0
ElseIf PictureBox1.tag = "perfect4th1" and count = 1 + 1 Then
Timer1.Stop()
Timer2.Start()
Timer3.Stop()
count = 0
ElseIf PictureBox1.tag = "perfect5th1" and count = 1 + 1 Then
Timer1.Stop()
Timer2.Stop()
Timer3.Start()
count = 0
Else
Timer1.Stop()
Timer2.Stop()
Timer3.Stop()
End If
Button1.Visible = False
thats for the button this is for the timer
Code:
If button_1 =1 and count = 2
button1.Visible = True
count = 0
button_1 = 0
hope this helps