>Putting THIS.SetBackColor after the THISFORM.Refresh in the NEXT button code solved the problem. Thanks for working with me. I thought of the solution last night at some point during the night when I was half asleep , but my computer was turned off long before then.
>
>But I do have a follow-up question:
>It seems to change the colors kind of slow. You can see the textboxes gradually change colors after going to the next record. Is there a way to freeze the screen until after the colors are changed instead of watching them gradually change textbox by textbox?
>
>Is it LOCKSCREEN = .T.?
Glad you solved it. And yep, before you fire your method, THISFORM.LOCKSCREEN = .T., then after you're finished, THISFORM.LOCKSCREEN = .F. And be sure that the firing of the THISFORM.LOCKSCREEN = .F. is bulletproof or things can look pretty strange when the user does something and nothing changes on the form. :-) Got bit by this more than once. :-)
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.