sotoasty,
Thank you for your examples. Works great!

Gizmo001,
Thank you for helping as well. I could not get it to work your way, maybe because the "red" control was created dynamically.

In any case thatnk you both for your time and effort,
Hans