Posted by Coxy on July 19, 2007
In Reply to Re: coloured text in stringgrid posted by Johan p14205 on July 18, 2007
Thanks for the help and quick reply Johan.I've put this:
font.Color:=clgreen;
TextOut(rect.left+2,rect.Top+2,stringgrid1.cells[acol,arow]);
in a case statement, but some of the cells have black strings in them!? (sometimes next to the green one, sometimes on their own). But the cells are not written to anywhere else...
I also noticed that if you offset the characters a bit more (e.g. rect.left+5) that there is another character "underneath" which is black.
Strange. Any ideas?
Related articles
Follow Ups