Brush and Font Color


2003-11-15 12:00:13 AM
delphi103
Hi
First, sorry for my langage but i m french :)
My problem is i don't know how to do to imput a different font color
(black or white) in function of the background color (any TColor) in
'DrawCell' evenement of a StringGrid ! I don't know the background
color that the user choose for a cell but i want that the font color
is black (if the background color is ) or white (if the background
color is ) !
Thanks for your help !