Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I animate (make it "Flash") a control on a form, using XP? 1

Status
Not open for further replies.

gadsbywc

Programmer
Sep 4, 2002
14
0
0
US
I want to make a message (control) Flash the entire time the form is displayed. I tried to use visible = True & False commands, repeated, but it executes so fast you only see it once.
I also need to open a form, and check if there is data. If there is no data, close the form. I've tried the IsNull function, but the form stays open with no data.

I appreciate any assistance in advance.[2thumbsup]
 
As far as making the control flash....

Set the TimerInterval for the form to something like 1000 (1 second)

Put the following in the OnTimer event:

Me![name of control].Visible = Not Me![name of control].visible

The control will now "flash" every second. You can adjust the time as necessary. If we knew what it was we were doing, it would not be called research, would it? - Albert Einstein [atom]

Robert L. Johnson III, A+, Network+, MCP
Access Developer/Programmer
robert.l.johnson.iii@citigroup.com
 
Thank you, Robert, this really helps.

William C. Gadsy Jr.
Programmer/Analyst
bill.gadsby@co.bell.tx.us
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top