>IF EMPTY(this.Value) > this.ForeColor = this.BackColor >ELSE > this.ForeColor = RGB(0,0,0) && Black >ENDIF >>
IF EMPTY(this.Value) this.ForeColor = this.BackColor ENDIFIn the LostFocus() event. And
IF NOT EMPTY(this.Value) this.ForeColor = RGB(0,0,0) && Black ENDIFin the InteractiveChange (or KeyPress) event.