Chazelle Consulting Services  

Contact Us

Home  |  Profile  |  Consultants |  References   

 

 

Home
 
Databases
Services
Resources
 
Web Design
Services
Portfolio
 
QuickBooks
Services
 
Office Automation
Services
 
Networking
Services
 
 
 
 Blinking Control
 

To make a control change from Red to Black every second, do the following:

In the Timer Interval property of the control, type 1000 (for 1 second, 500 for half a second, etc..)

In the OnTimer property, enter the following code:

If Me![ControlName].Forecolor = 255 Then
Me![ControlName].ForeColor = 0

Else
Me![ControlName].Forecolor = 255

End If

Note: You can use other colors by changing the above numbers.