FNC Grid Selection Colour

I set cell fill colours in GetCellLayout - the problem is that there's then no visual indication of which cells are selected using the mouse, since the selection colour is over-ridden. Is there a simple way to set a different selection colour in that case, or have a mix in the same way Excel handles it?

Thanks, Bob

Hi,


The OnGetCellLayout has a ACellState property that can be used to determine whether a cell is selected or not.
Perfect - works a treat.

Thanks, Bob