Erik,
Is there any reason for not using the refresh method in a textbox? One of my workers told me that using refresh could have problems woth gostfocus or setting focus to textboxes, I'm using:
PROCEDURE Refresh
DODEFAULT()
IF TYPE("this.value")="N"
this.forecolor = IIF(this.value<0,RGB(255,0,0),0)
this.disabledforecolor = IIF(this.value<0,RGB(255,0,0),0)
ENDIF
ENDPROC
I think this don't disturb any. It's only for coloring.