• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 357
  • Last Modified:

Access: Form Timer flash 10 times then stop

I have a form with a label. How do I make the label forecolor flash from black to red 10 times then stop. Note:  My timer interval = 300.

I can make the label flash continuously, but this can get annoying to the user, therefore when the user presses a button,  I only want it to flash 10 times to draw attention to the label then stop.
2 Solutions
Hi ouestque,

Use a for 1 to 10

What is you code at the moment?

Good Luck!

create a global variable, form level,
in your form timer function where you do change the colour, increment this counter
then check when it reaches your desired threshold limit. Once this is done, set the timerinterval to 0 in order to stop it

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now