[Lazarus] System color to TFPColor

Mattias Gaertner nc-gaertnma at netcologne.de
Thu Nov 13 23:18:44 CET 2014


On Thu, 13 Nov 2014 19:57:47 +0100
Krzysztof <dibo20 at wp.pl> wrote:

> Ok solved by TColorToFPColor(ColorToRGB(clHighlight))

Yes, but keep in mind that system colors are context sensitive. a
clHightlight might be a different color on a TButton and on a TForm.
And system colors depend on using as a Brush, Pen or Font.

Mattias




More information about the Lazarus mailing list