Hello,
I am using Access 2000 and what my client has asked me to do is have like a "traffic light" text flashing effect. Completely usless of course, but we are all at the wim of our clients or bosses I guess.
What I mean by a traffic light effect is this
Lets say there are 3 label boxes on a form called frmParent (the captions dont matter at this time), lab1, lab2 and lab3.
I need the .forcolor of lab1 to be red for 1/2 a second and the other two to be black, then lab1 turns black at the same time as lab2 turns red for 1/2 a second (while lab3 stays black.
Then, yes you have guessed it, lab3 turns red for 1/2 a second while the other two are black. This would be on a constant loop so it looks like lab1,2, and 3 are part of a overall effect.
I have tried the parent forms OnTimer event but as my knowledge lets me down, i can only get all three to flash red at the same time. I am completely stumped as to what to do because the client insists on having this.
Is there a way of telling Access to perform "task A = setting forcolor of lab1 to vRed and lab2 and 3 to vbBlack then,
1/2 a second later Access should perform "task B = setting forcolor of lab1 and 3 to vbBlack and the forcolor of lab2 ro vbRed, then
1/2 a second later Access performs "task C = setting the forcolor of lab3 to vbRed and lab1 and 2 to vbBlack then
1/2 a second later, repetes the whole process ???
I am hoping that someone can point me in the right direction?
Thanks in advance
I am using Access 2000 and what my client has asked me to do is have like a "traffic light" text flashing effect. Completely usless of course, but we are all at the wim of our clients or bosses I guess.
What I mean by a traffic light effect is this
Lets say there are 3 label boxes on a form called frmParent (the captions dont matter at this time), lab1, lab2 and lab3.
I need the .forcolor of lab1 to be red for 1/2 a second and the other two to be black, then lab1 turns black at the same time as lab2 turns red for 1/2 a second (while lab3 stays black.
Then, yes you have guessed it, lab3 turns red for 1/2 a second while the other two are black. This would be on a constant loop so it looks like lab1,2, and 3 are part of a overall effect.
I have tried the parent forms OnTimer event but as my knowledge lets me down, i can only get all three to flash red at the same time. I am completely stumped as to what to do because the client insists on having this.
Is there a way of telling Access to perform "task A = setting forcolor of lab1 to vRed and lab2 and 3 to vbBlack then,
1/2 a second later Access should perform "task B = setting forcolor of lab1 and 3 to vbBlack and the forcolor of lab2 ro vbRed, then
1/2 a second later Access performs "task C = setting the forcolor of lab3 to vbRed and lab1 and 2 to vbBlack then
1/2 a second later, repetes the whole process ???
I am hoping that someone can point me in the right direction?
Thanks in advance