[Lazarus] System color to TFPColor

Krzysztof dibo20 at wp.pl
Thu Nov 13 19:40:09 CET 2014


Hi,

I need to convert system color (like clHighlight, clBtnText etc) into
TFPColor. Function TColorToFPColor has comment "does not work on
system color" and indeed it doesn't work (I always get black color).
Many other color functions has this same comment. How to workaround
this?

Regards




More information about the Lazarus mailing list