Colors
Posted: Fri Apr 22, 2011 7:12 am
Hi,
I am trying to modify the colors of the cell. I had thought the following code would do the trick:
ExcelColorPalette[1]:=$00F1E5DB; // light blue
with XLSCMI.Sheet[0] do Begin
AsString[0,0]:=CountryEdit.Text;
Cell[0,0].FontSize:=16;
Cell[0,0].FontStyle:=[xfsBold];
Cell[0,0].FillPatternForeColor:= xc1;
.....
the code (which would be suggested by the C++ example on the forum
ExcelColorPalette[xc1]:=$00F1E5DB;
does not compile
I have obviously misunderstood something
best
Jon
I am trying to modify the colors of the cell. I had thought the following code would do the trick:
ExcelColorPalette[1]:=$00F1E5DB; // light blue
with XLSCMI.Sheet[0] do Begin
AsString[0,0]:=CountryEdit.Text;
Cell[0,0].FontSize:=16;
Cell[0,0].FontStyle:=[xfsBold];
Cell[0,0].FillPatternForeColor:= xc1;
.....
the code (which would be suggested by the C++ example on the forum
ExcelColorPalette[xc1]:=$00F1E5DB;
does not compile
I have obviously misunderstood something
best
Jon