[Lazarus] Transparent Custom Drawn Controls
dibo20 at wp.pl
Thu Sep 20 15:38:39 CEST 2012
Hmm. So maybe can I somehow copy fragment of canvas from parent?
For example I have this controls hierarchy:
|- TPanel filled with gradient
|- TCDStaticText or other CD control
And now, in my custom drawer, before I draw e.g static text, I copy
fragment (from position where static text is placed) of parent
background (TPanel) to the bitmap and draw it in static text before
drawing text. This will give us some kind of fake transparent, but it
it is possible then it matches for me.
More information about the Lazarus