TColor to TFPColor lazarus / 8-Other ---------------------------------------------------------------------- Marko · 2009-09-12 15:34 Hello! I'm in a need of converting a TColor to TFPColor. I've been searching for 2 days now and the closest thing I have found was a question without an answer here: http://www.lazarus.freepascal.org/index.php/to pic,895.msg3699.html#msg3699 Is there a way to do this, and how? Thanks! ---------------------------------------------------------------------- theo · 2009-09-12 15:53 Two days? Ouch Why not try   TColorToFPColor(); in unit graphics? ---------------------------------------------------------------------- Marko · 2009-09-12 17:17 Thanks a lot! Somehow, I couldn't find it. Works neatly. Once more, thanks! ---------------------------------------------------------------------- theo · 2009-09-12 17:20 Quote from: Marko on September 12, 2009, 07:17:09 pmThanks a lot! Somehow, I couldn't find it. Works neatly. Once more, thanks! There's code insight, just type TColorTo and press CTRL+Space ;-) ---------------------------------------------------------------------- Marko · 2009-09-12 22:34 I know there is Code Insight. I just assumed that conversion function would be part of either TColor or TFPColor class, so I tried to use code insight on instances those classes. Anyhow, I can't understand how google gave me nothing on the subject.