[Lazarus] Transparent Custom Drawn Controls

Paul Ishenin webpirat at mail.ru
Thu Sep 20 15:17:10 CEST 2012


20.09.12, 20:57, Krzysztof wrote:
> Hi,
>
> I'm writting own drawer for custom drawn controls. But all controls
> inherit from (TCDControl -> TCustomControl), so background by default
> is without transparent (I get uniform gray color).
> I think that non-container controls (like TCDStaticText, TCDButton
> etc) should inherit from TGraphicControl which has support for
> transparent background.

And has no focus support since TGraphicControl does not have OS handle 
and as result does not have focus.

Best regards,
Paul Ishenin




More information about the Lazarus mailing list