If the textbox content is full, the button color will be red

What about using virtual screens?
See tip 1 here

Taifun