[Lazarus] TColor and Alpha channel support

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Sep 26 14:15:59 CEST 2016


On Mon, 26 Sep 2016 13:09:30 +0100
Graeme Geldenhuys via Lazarus <lazarus at lists.lazarus-ide.org> wrote:

>[...]
> > The idea is to use the FPColor property for alpha, but that is not
> > implemented yet by the LCL interfaces. Hmm, I wonder how hard it would
> > be...  
> 
> Does that also mean every widget in LCL will have a Color and FPColor
> property?
> 
>   eg:
>     Label1.Color := ....;
>     Label1.FPColor := ....;
> 
> That would be very messy!

First of all setting Pen.FPColor sets Pen.Color and vice versus, so
you only set one.
And second I doubt that alpha is useful for all native widgets.

Mattias


More information about the Lazarus mailing list