How to make object in Access Form blink or flash?

  • Thread starter Thread starter lisasue
  • Start date Start date
L

lisasue

Can anyone tell me how to do this easily? I'm not good with code at all.
Does Access have a simple way to animate an object in our forms? I want it
to stand out so users actually read it.
 
Folks who suffer from epilepsy can have an attack triggered by
flashing/blinking lights. Are you sure you want to risk that?

Another way to make something "stand out" is to change that object's
background color.

Regards

Jeff Boyce
Microsoft Office/Access MVP
 
Can anyone tell me how to do this easily?  I'm not good with code at all..  
Does Access have a simple way to animate an object in our forms?  I wantit
to stand out so users actually read it.  

Here's some code I have been using, it's not much code and very easy
to implement. You go to the properties of the form and use the "on
timer" for event procedure (also set the interval just below where you
set the event, 500 works well for an interval). The code you can use
(in this case making label278 blink) is..

Private Sub Form_Timer()
Dim labelVis As Boolean

labelVis = Label278.Visible
Label278.Visible = Not (labelVis)

End Sub

If you need more specific help to put this code in, let me know.
 
Can anyone tell me how to do this easily? I'm not good with code at all.
Does Access have a simple way to animate an object in our forms? I want it
to stand out so users actually read it.

A little of this goes a long way.
If I were the user, I would put up with it for 3 seconds, close the
form and walk away. It's very distracting. Just because you can do
something doesn't mean you should.

Set the form's Time Interval to 500
Code the Form's Timer event:
Me.[ControlName].Visible = Not Me.[ControlName].Visible
 
Back
Top