>>Naomi,
>>
>>I think your control is a good candidate for getting the Enabled property set to .f., wouldn't it be much easier <g>
>
>In such case I would have to change DisabledBackColor property. Though it's easier than two lines of code...
Actually, DisabledBackColor is also used for ReadOnly controls, the one you need to change is DisabledForeColor, IIRC, and is not a line of code, is a change in the properties sheet <g>
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?
"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare
"To die for a religion is easier than to live it absolutely"
Jorge L. Borges