Re: Grid colors by Fred
Fred
Wed Dec 19 19:50:09 CST 2007
In the AfterRowColChange event, you can set the Grid.HighlightBackColor to
similar to your dynamic color property (just don't use the quotation marks).
You then also need to set grid.AllowCellSelection =.f., too.
--
Fred
Microsoft Visual FoxPro MVP
"Stephen Ibbs" <stephen@datadevelopments.co.uk> wrote in message
news:%23iTH07kQIHA.5016@TK2MSFTNGP06.phx.gbl...
>I am using dynamicbackcolor to set the row color of a grid green when
>certain conditions apply. However the currently selected row/record still
>appears with the white background.
>
> Is there a way of keeping the background colour of the currently selected
> row the same as the dynamicbackcolor, whether white or green?
>
> Sincerely
>
> Stephen
>
>