I found another solution. The best thing in Custom Drawn Controls is
that all drawing logic is in drawer object. So I am just creating own
component TMyCDStaticText which inherit from TGraphicControl and then
in Paint method I call GetDefaultDrawer.DrawStaticText(). So with this
trick I have transparent label. This same with buttons etc (I don't
need focus states in my application ) ... :)

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to