>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
You can use the column.DynamicCurrentControl property.
Add another checkbox to the column exactly like the current one, except set Enabled=.F.
then
this.Column1.DynamicCurrentControl="IIF(somecondition,'chkBox1','chkBoxDisabled')"
Insanity: Doing the same thing over and over and expecting different results.