>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 don't see any problem with this. I do this sort of thing all the time.
Erik Moore
Clientelligence