Hi, >If i create an inheritance of class and I rewrote, recompiling the new object >I change the >clGray from VCL source in what I want, but it is complicated at first view, >but rational >way. I understand that. I want another solution for that, like: if possible to >capture the >canvas of control and on event wm_enabled after produced to repaint this >canvas with >color text changed and after that invalidate control to repaint ?
I understand, but once you see the code i sent to your private mail box, i think you'll agree this is much easier than your proposal. Rewriting the component easily and modifying the behavior is the big "+" to OOPs. Cheers, Charlie [Non-text portions of this message have been removed]

