Using VB 2005 EE....
Im creating a lil program that sort of goes along with a lil game... What im trying to do is when you click the button once, it changes color.. twice - another color, 3 times, Yep - another color lol..... and if you clicka 4th time, back to its original state...
I have the following set up so far:
and Of course when you click it - it just goes straight to gold. I cant figure out what I need in between each color to get it to change "per click".
can anyone help me?
Thanx
Im creating a lil program that sort of goes along with a lil game... What im trying to do is when you click the button once, it changes color.. twice - another color, 3 times, Yep - another color lol..... and if you clicka 4th time, back to its original state...
I have the following set up so far:
Code:
'First click turns Red '
Button1.BackColor = Color.Red
'Second click turns Blue'
Button1.BackColor = Color.Blue
'Third click turns Gold'
Button1.BackColor = Color.Gold
and Of course when you click it - it just goes straight to gold. I cant figure out what I need in between each color to get it to change "per click".
can anyone help me?
Thanx