how to get text in text box to flash

DT

Registered User.
Local time
Today, 03:45
Joined
Oct 23, 2000
Messages
83
is it possible to get the text in a text box to flash?

thanks
 
Yup, you need to set the timer value for the form to something like 500, then add some code like:

Private Sub Form_Timer()
If Me.MyTextBox.ForeColor = 255 Then
Me.MyTextBox.ForeColor = 0
Else
Me.MyTextBox.ForeColor = 255
End If
End Sub

This will cause the text to alternate between red(255) and black(0) every half second - adjust the timer value in the form's properties to adjust the rate of flash.

Only trouble with this is that it causes Access to refresh the display each time the text flashes and this may cause other objects on the form to flicker slightly

HTH

Mike
 
Mike,

It took me awhile but I got it to work...Thanks

Derek
 

Users who are viewing this thread

Back
Top Bottom