code problem
I'm just a beginner and i want to write the code for the next program :
I've 4 labels and 2 buttons on a form
first click : backcolor lbl1 change and with lbl2-lbl3-lbl4 nothing happens
second click : backcolor lbl1 and lbl2 change . with lbl3 and 4 nothing happens
third click :backcolor lbl1 and lbl2 and lbl3 change . lbl4 doesn't change
fourth click : backcolor lbl1 and lbl2 and lbl3 and lbl4 change.
fifth click : the proces start again and the value in lbl2 will increase with one.
ps : everytime the proces start again the value in lbl2 will increase with one.
this proces wil go one till the value in lbl2 is 3. i=i+1
Can somebody tell how the code will look like?.
ps: i've change the tekst to make things more clear i think.
I'm just a beginner and i want to write the code for the next program :
I've 4 labels and 2 buttons on a form
first click : backcolor lbl1 change and with lbl2-lbl3-lbl4 nothing happens
second click : backcolor lbl1 and lbl2 change . with lbl3 and 4 nothing happens
third click :backcolor lbl1 and lbl2 and lbl3 change . lbl4 doesn't change
fourth click : backcolor lbl1 and lbl2 and lbl3 and lbl4 change.
fifth click : the proces start again and the value in lbl2 will increase with one.
ps : everytime the proces start again the value in lbl2 will increase with one.
this proces wil go one till the value in lbl2 is 3. i=i+1
Can somebody tell how the code will look like?.
ps: i've change the tekst to make things more clear i think.
Last edited: