>Is there a way to change the code in all textbox gotfocus & lostfocus to this.backcolor= etc without going into each one and adding the code?
Doug,
If you're running VFP 8 or above, you could also use BindEvents() in your Form.Init() to redirect these events to a form method that would handle these activities. This way you don't need another subclassed control and you don't need to spread logic amongst multiple controls.
Malcolm