Make Arrow button blink for a perscribed amount of time.

C

Chertsey

I have an area on my screen that I want to draw the users attention to at a
certain point in time. Currently I have programed an arrow button to blink
using the OnTimer Event. My question is, How do I program it to Blink ONLY
for a perscribed amount of time OR a certtain number of Blinks. I don't want
to leave the arrow button blinking indefinitely. That would be too annoying.
So I would like it to blink for a few seconds just to get their attention,
and then make it not visible. Is this possible?
Thanks you in advance for any help!
 
D

Douglas J. Steele

You can declare a Static variable in the Timer event, increment it each time
the event fires, and then reset the TimerInterval to 0 when the value of the
variable is big enough.
 
J

Jeff Boyce

Are you aware of the finding that some frequencies and colors of blinking
lights can trigger seizures?

Consider another approach to getting the users' attention...


Regards

Jeff Boyce
Microsoft Office/Access MVP
 
Y

YorkieU

I'm not changing any colors or spinning any hypnotic trance like spiraling
wheels. I'm turning an arrow button on and off for a few brief blinks maybe
4 or 5 blinks to alert the user to a button that has become visible for
thier use. I don't mean to be insensitive but how do these people contend
with a blinking Walk - Don't Walk sign? or all the other "Alerting Signs" in
our lives. BTW: I'm doing this at THE USERS request. Thanks for the finding
though. IFF you have another way of alerting the user to something they have
asked to be alerted to... please advise.
 
J

Jeff Boyce

Wasn't telling you not to, was suggesting you consider options. Personally,
I find something flashing on screen annoying ... and I suspect others do
too.

Change the color of the item until after they click it?

Regards

Jeff Boyce
Microsoft Office/Access MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top