blink text

how do i make text in a label blink?
brohansAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
percosolatorConnect With a Mentor Commented:
one way:

put a timer "Timer1" on your form, give it an interval of 400 or whatever length of time you desire.

now put your label "Label1" on the form and set the text to whatever you would like

code
-----------------------------
Option Explicit

Dim mblnVisible As Boolean

Private Sub Form_Load()

    mblnVisible = True
   
End Sub

Private Sub Timer1_Timer()

    mblnVisible = mblnVisible Xor True
   
    Label1.Visible = mblnVisible
   
End Sub
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.