Check out the Grid's Sparse property.
>create a form class with a 1 column grid
>bind grid and column to a table and field
>in init of the column's textbox put "this.parent.readonly = .T."
>instantiate and show form
>
>here is what I am seeing:
>
>even though the column prop is set to readonly=.t. - the field is editable. Worse - the textbox readonly shows .f. - and even if you programmatically set it to .t., it gets reset to .f. every time it gets focus!!
>
>if you do the exact same thing with a form instead of a form class, it seems to work as expected.
>
>Can anyone verify or comment?
>
>TIA!
>Ken
- Jeff