>Naomi
>
>How to use DynamicForeColor (as an example) to set the color based on different row. for example change row#3 color based on a check box in row#1
>
>Mo
Mo,
In VFP the Grid control is bound to the table / cursor. So, the CheckBox represents some field, say, myTable.Checked (logical field)
Now, if you only want to change one particular column, you would do
thisform.myGrid.myColumn.DynamicForeColor = "iif(myTableChecked, rgb(...), rgb(...))"
For All Columns in the Grid you would use SetAll method to set DynamicBack or Fore Color.
I'm writing from the top of my head, you may still want to re-check these properties in the Help.
If it's not broken, fix it until it is.
My Blog