Board index » delphi » TStringGrid - Highlighting Cells

TStringGrid - Highlighting Cells

I have a string grid 6 columns by 7 rows. I would like to highlight
alternate cells running from top to bottom and left to right in the grid.
Tried OnDrawCell but not much luck. TIA for any help.
 

Re:TStringGrid - Highlighting Cells


Quote
Ross Garbig wrote in message <84dv8m$1u...@forums.borland.com>...
>I have a string grid 6 columns by 7 rows. I would like to highlight
>alternate cells running from top to bottom and left to right in the grid.
>Tried OnDrawCell but not much luck. TIA for any help.

You can download a sample project to demonstrate this from my site:
http://members.home.net/wniddery/freedelphistuff.html

--
Wayne Niddery - WinWright Consulting
RADBooks - http://members.home.net/wniddery/
Toronto Delphi Users Group - http://www.tdug.com/

Other Threads