Hey, thanks for your reply - I wasn't expecting one this quick.
I've tried system.threadin g.thread.sleep (2000).
I also tried a ridiculous "while" statement which took the current datetime seconds value, then populated int1 with it. I populated int2 with int1 + 2 (subject to an 'if' which said that if int1 is > 57, subtract 60 from it) I then had a "while (int1<int2) {int1 = System.DateTime .Now.second}....
User Profile
Collapse
-
Changing colors of buttons on form after set delay
...with a simple problem. I have 2 buttons on my form, button1 and button2. I want the following sequence:-
1) button1 changes colour to red
2) wait 2 seconds
3) button1 changes back to gray and button2 changes to red
4) wait 2 seconds
5) button2 changes back to gray and button1 changes to red.
Please help me or I'll be forced to eat more chocolate orange biscuits.
No activity results to display
Show More
Leave a comment: