Easy One!!!!

Milan

Registered User.
Local time
Today, 22:40
Joined
Feb 17, 2002
Messages
85
I have a text box in a form bound to a field in a table. When i open the form i nedd the text box to change the colout of the text(foreground) from white to black , and after one sec change it to black from white. basicly i want the text to appear as if it is flashing on and off from black to white continiously. i have used the on timer event on the form to control the text box, but not sure how to make it alternate font colours continuosly in the text box ???.

Many Thanks
 
If Me.TextBoxName.ForeColor = 16777215 Then
Me.TextBoxName.ForeColor = 0
Else
Me.TextBoxName.ForeColor = 16777215
End If
 
Thanks!!!

Works a Treat!!!
 

Users who are viewing this thread

Back
Top Bottom