>Hi All:
>
>Can I disable some columns in some rows in a grid?
>
>Something like:
>
>
>FOR i = 1 TO thisform.NumberOfRecords
> IF somecondition(i)
> thisform.grid1.column1.chkBox[i].enabled = .f.
> ENDIF
>NEXT
>
>
>Thanks,
>
>Yossi
How I do this is use two checkbox objects in the column.
Having one's enabled property set to true and one to false.
Then in the DynamicCurrentControl of the column set IIF(somecondition(), 'chk_Enabled','chk_Disabled')
Charles
"The code knows no master." - Chuck Mautz
"Everybody is ignorant, only on different subjects." - Will Rogers