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

FLASHING MSG BOX?

Status
Not open for further replies.

chubby

Programmer
Apr 28, 2001
278
US
How can I make a Flashing MSG box?
 
This may not be the best way, but it does work.
You need to add a code to the OnTimer event of your form and set the Timer Interval to 500 (you will want to adjust that depending on how fast or slow you want the box to flash). In the OnTimer code, type:
If Me!field1.ForeColor="FieldForeColor" Then Me!field1.ForeColor="FormBackColor" Else Me!field1.ForeColor="FieldForeColor"

Field1 should be the name of the field you want to flash and you will need to replace the FieldForeColor & FormBackColor with the color number for those properties.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top