Blinking Text

  • Thread starter Thread starter Mark
  • Start date Start date
M

Mark

If I want to create blinking text in a label or text box,
how would I do this?

Thanks

Mark
 
If I want to create blinking text in a label or text box,
how would I do this?

Thanks

Mark

Set the form's Timer interval to 1000 ( to blink once per second).

Code the form's Timer event:

[LabelName].Visible = Not [LabelName].Visible
 
In your form, set the property Timer Interval (Event Tab) to 1000 (1000 = 1
second)
In the event OnTimer, write the code:

Private Sub Form_Timer()
Label1.ForeColor = IIf(Label1.ForeColor = 0, 255, 0)
End Sub

This will make it blink black and red

Take Care
Mauricio Silva
 
While I generally agree with your sentiment, there is the
rare situation where blinking is important. One case I had
to deal with was a normally unattended console where a
problem needed to be visible from across the room. Blinking
red indicated a new critical problem and steady red meant
someone had acknowedged the "alarm" and was working the
problem.
 
Why not just constand red for critical and some other color for the other
conditions. No need for blinking at all. Blinking can cause epileptics to
have a seizure.

Marshall Barton said:
While I generally agree with your sentiment, there is the
rare situation where blinking is important. One case I had
to deal with was a normally unattended console where a
problem needed to be visible from across the room. Blinking
red indicated a new critical problem and steady red meant
someone had acknowedged the "alarm" and was working the
problem.
--
Marsh
MVP [MS Access]


Don't do it - EVER
It does not belong in any user-interface.
 
I still agree with your general view here, but in that
specific case the (very large) user community insisted on
what I thought was extremely high visibility. They said
that any negative visual effects would be irrelevant from
any significant distance from the console. I finally
conceded when they explained that if anyone actually sat at
the console, their first action would be to acknowledge the
alarm condition (which would stop the blinking).

I'm not trying to argue what I consider an extreme case as
being normal, but only that the unusual case does
occasionally come up.
 
Not to start an argument, rather just to clarify, it's not blinking, but
strobing that can trigger a seizure. Just keep the rate slow, around 1 per
second or less.



mscertified said:
Why not just constand red for critical and some other color for the other
conditions. No need for blinking at all. Blinking can cause epileptics to
have a seizure.

Marshall Barton said:
While I generally agree with your sentiment, there is the
rare situation where blinking is important. One case I had
to deal with was a normally unattended console where a
problem needed to be visible from across the room. Blinking
red indicated a new critical problem and steady red meant
someone had acknowedged the "alarm" and was working the
problem.
--
Marsh
MVP [MS Access]


Don't do it - EVER
It does not belong in any user-interface.

:

If I want to create blinking text in a label or text box,
how would I do this?
 
Back
Top