Page 1 of 1

Reverse font color in cell (excel97, v5.10.18)

Posted: Tue May 21, 2013 9:26 am
by jleg
Hello Lars,

If you use :

Code: Select all

XLS[0].Cell[Col, Row].FontColor := clRed;
and export in Excel97 format, the cell font is not Red but Blue (and of course, if you put clBlue color, you get Red in the cell).
I think the pb is that delphi TColor constants are in BGR format and not in RGB format.

jleg.