Hi Marcia,
I set mygrid.mycolumn.ReadOnly property to be conditional. Without Grid.Refresh in AfterRowColChange it doesn't work. Though you're right, I noticed degradate of perfomance.
Another qustion: If Grid.colors depend not only on Grid.RecordSource fields, but form's property also, what's the best way to set them? As far as I understand, it should be done in Grid.Refresh (could not be done in Grid.Init). Am I right?
>Hi Nadya.
>
>>> And just a reminder: don't forget to refresh your grid in AfterRowColChange <<
>
>This may not be necessary. If SomeConsition involves a field that is bound to a grid column (like a selection flag, for example) and the user clicks on a checkbox to select/de-selected the item, the selected row will change color as soon as the user tabs off of the column with the checkbox in it. No refresh required. All it will do in this case is slow down performance.
>
>Marcia
If it's not broken, fix it until it is.
My Blog