Solved

blinking borders

Posted on 1999-01-29
2
700 Views
Last Modified: 2012-06-21
how do I make a label border color blinks?
Example (black-white-black-white...) as long as form is open
0
Comment
Question by:Tarazan
2 Comments
 

Author Comment

by:Tarazan
ID: 1978054
Edited text of question
0
 
LVL 10

Accepted Solution

by:
brewdog earned 50 total points
ID: 1978055
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

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It took me quite some time to sort out all the different properties of combo and list boxes available from Visual Basic at run-time. Not that the documentation is lacking: the help pages are quite thorough and well written. The problem was rather wh…
Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now