color a cell in Delphi stringgrid

Posted by Sammy on October 16, 2005

Hi all,
I have learned how to use ..DrawCell event to color an individual cell in the Delphi stringgrid.

But how can I colour a cell, that is, to send the row and column variables (say, 3rd row and 4th column) from a procedure by clicking on a button?

thanks,

Sammy

Related Articles and Replies

Annoying StringGrid Focus
... setting the focus on the upper lefthand cell [0,0] and coloring it dark blue.This obfuscates what i want to show in that cell...