If you're going to create a subclass of the textbox (which you should), don't use the Tag property for something as useful as this. Just create a custom property for it. Something like BackColorWithFocus or FocusBackColor or anything else that makes it clear.
$0.02,
Chad
>Create a class based on TextBox. In GotFocus Event put:
>this.Tag = TRANSFORM(this.BackColor)
>this.BackColor = RGB(whatever)
>
>in LostFocus Event put:
>this.BackColor = VAL(this.Tag)
>
>and use this class in your forms
_________________________________
There are 2 types of people in the world: