blinking issue

wh00t

Registered User.
Local time
Today, 17:32
Joined
May 18, 2001
Messages
264
In some databases I have certain things blinking using the timer event, but I have a database with a form which is used 24/7 and displays the status of certain items, the timer event is set to refresh this information every minute. If an item is in a certain status I would like it to blink to identify to the user that it requires urgent action, but I can not use the timer event as the blink time is too slow, and I do not want to reduce it as I do not want the screen refreshing every 3 seconds, is there a way around this?
 
Change the timers interval to whatever blink rate you want, create a static variable to act as a counter. With each execution of the timer event you increment the counter by 1. Each execution would involve:

1) Checking to see if the update counter has reached the refresh value (say 60 if the interval is 1 second and you want it refreshed every minute). If so refresh the screen, reset counter and exit sub.

2) Checking to see if a control needs to be flashed, if so flash it, increment the counter and exit sub.

3) Incrementing the counter if 1 & 2 are false.

Hope this helps....

Jordan
 

Users who are viewing this thread

Back
Top Bottom