Hi Antonio,
It's not OK :) DynamicForeColor is property of the column, not the textbox inside the column.
>Samuel,
>
>I will try help you.
>I´m sorry, but my English isn´t very well.
>
>If you want to change the color in grid. Do this:
>
>In the MyForm.Init put:
>
>MyForm.MyGid.MyColumn.MyText.DynamicForeColor = "IIF(MyCursor.MyField > 0, RGB(255,0,0),RGB(0,128,128)).
>
>OK?
>
>Antonio Filho
>Teresina - PI
>Brazil
If it's not broken, fix it until it is.
My Blog