Hello Alaster,
I had to solve this for one of my apps and here's how I do it...
In the AfterRowColChange Event of the grid, determine if the row you are on should be editable or not.
If it shouldn't be editable do the following for every column in the grid:
this.ColumnName.Text1.Enabled=.F.
If it should be editable do the following for every column in the grid:
this.ColumnName.Text1.Enabled=.T.
'ColumnName' is the name of columns in your grid
'Text1' is the name of the default textbox object found in every column. If you have another object in a column, for example a checkbox, then replace 'Text1' with the name of that object.
Hope this helps.
>hi !,
>
>this is alaster from Singapore.
>does anyone know how to make a single row in a grid to be editable
>base on the current record and the rest of the rows to be read only.
>
>i really appreciate if you can help, thank you in advance.
>
>alaster
Bruno Di Lalla
Consultant
BDL Computer Consulting