Solved

blinking borders

Posted on 1999-01-29
2
688 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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

When you are entering numbers in a speadsheet, and don't remember what 6×7 is, you just type “=6*7" instead. It works in every cell! This is not so in Access. To enter the elusive 42 in a text box, you have to find a calculator, and then copy the re…
In the article entitled Working with Objects – Part 1 (http://www.experts-exchange.com/Microsoft/Development/MS_Access/A_4942-Working-with-Objects-Part-1.html), you learned the basics of working with objects, properties, methods, and events. In Work…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

760 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

18 Experts available now in Live!

Get 1:1 Help Now