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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Make a Label Flash or Blink 1

Status
Not open for further replies.

jsteff

Technical User
May 22, 2003
109
US
Simple Form.
The user can navigate through the table using the buttons on the bottom of the form. (working)

If the user gets to a record that has a status of "6", the label "DONE" appears on the screen (working)

While the user is on the "DONE" record, I want the word "DONE" to flash. (not working)

Here is the code I have in place:
------------------
With Forms!MAIN!TaskStatDisp
.ForeColor = (IIf(.ForeColor = vbRed, vbBlack, vbRed))
Me.TimerInterval = 15
.ForeColor = (IIf(.ForeColor = vbRed, vbBlack, vbRed))
.ForeColor = (IIf(.ForeColor = vbRed, vbBlack, vbRed))
.ForeColor = (IIf(.ForeColor = vbRed, vbBlack, vbRed))
.ForeColor = (IIf(.ForeColor = vbRed, vbBlack, vbRed))
End With
-------------------

any suggestions?????






 
Put the color changing code in the Timer event procedure of the form.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top