Board index » delphi » Adding Color to rows in tdbgrid

Adding Color to rows in tdbgrid

Can anyone tell me how to change the font color on rows in a dbgrid that
meet certain criteria. I.e.. if they maintenance is overdue then I want the
text to be red. If it is within 100 miles of being due then I want the text
to be yellow. Otherwise I want the row text to be black.

Thanks for your help .
Please reply by email also.

Marshall Harrison
mkhar...@jax-inter.net

 

Re:Adding Color to rows in tdbgrid


Visit my home page and get DBColoredGrid!

Quote
> Can anyone tell me how to change the font color on rows in a dbgrid that
> meet certain criteria. I.e.. if they maintenance is overdue then I want the
> text to be red. If it is within 100 miles of being due then I want the text
> to be yellow. Otherwise I want the row text to be black.

> Thanks for your help .
> Please reply by email also.

> Marshall Harrison
> mkhar...@jax-inter.net

--
Vitaly Furman
E-mail: vit...@cryogen.com
http://www.geocities.com/SiliconValley/1593

Other Threads