[Lazarus] TColor and Alpha channel support

Graeme Geldenhuys mailinglists at geldenhuys.co.uk
Mon Sep 26 14:09:30 CEST 2016


On 2016-09-26 12:33, Mattias Gaertner via Lazarus wrote:
>>  Does TColor support the Alpha channel,
> 
> No.

Wow, that's surprising.


> 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!


> Usually I use the RGBToColor function, so I only see RGB.

Ah, thanks for that tip.



Regards,
  Graeme



More information about the Lazarus mailing list