>This is not a situation where the whole column is set read-only. It is on a row-by-row basis, depending on a condition. In the past, I've used a condition in the When method. This is fine, but in conjunction with a right-click menu, it disables the right-click. Out of habit, I put some code in the When method:
>
>
>this.readonly = <expr>
>return .t.
>
>
>That wasn't working and neither was the DynamicCurrentControl (there seem to be some issues with getting that working correctly). Don't know why I didn't think of AfterRowColChange. Like I said, it was getting late after a long day. Thanks.
>
>Russell
Yes, AfterRowColChance would work just fine in your case. It worked for me in similar circumstances.
If it's not broken, fix it until it is.
My Blog