blinking borders

how do I make a label border color blinks?
Example (black-white-black-white...) as long as form is open
TarazanAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
brewdogConnect With a Mentor Commented:
It seems like you'd have two choices:

1. An ActiveX control that animates like that (I don't know of one, though)
2. A Timer event that does something like this:
         fColor = not fColor
    if fColor then
         linBlack.visible = true
         linWhite.visible = false
    else
         linBlack.visible = false
         linWhite.visible = true
    end if

   On Form_Load, then you could set fColor to true or false, whichever you like. Then set the Timer property to however many milliseconds you want (probably 2000 for 2 seconds, maybe).

The second way isn't all that pretty, to my mind, and eats up some CPU time, but . . .

It's an answer. :^)

brewdog
0
 
TarazanAuthor Commented:
Edited text of question
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.