I'm making a game of yahtzee. I have the control array for the numbers (used instead of dice) and all the scores setup in option boxes.

I need to know how to...
when the spin button is clicked, then clicked again, the disabled on the third click. It then becomes re-enabled when the user selects a score option.

This is the code inside the timer...

If speed < 20 Then
For I = 0 To 4
Randomize
lblNo(I).Caption = Str(Int(Rnd * 6))
Next I

speed = speed + 1

Else

Timer1.Enabled = False

End If


this is the code inside the spin button

speed = 5
Timer1.Interval = 50
Timer1.Enabled = True




I also need to know how I can make a number stop spinning when I click spin (so the user can keep that number)

I have 5 hold check boxes. Say that on the first spin label's 0, 1, 2 came up with four, the user could use hold 1, 2 ,3 to make these numbers not spin when they have their next spin.




If anyone can help me with any code I'd greatly appreaciate it! (a picture of the interface is attached!)