Change the Font Color of Selected Cell?

I have a TAdvStringGrid. In a certain mode I'd like to hide the text in a cell. I'm using the OnGetCellColor event to set the font color to the same as the background color. It works well if the cell isn't selected. However, when the cell is selected you can see the text. And it doesn't seem to make any difference if I set the AFont.Color to the selected color.

My question is, how do I change the font color of the selected cell?

- Steve

The text color of a cell in selected state is set by grid.SelectedTextColor

Great - I got it working!