This sounds silly, I can't make a simple operation work! I need to make a cell read only, thus I set it :
Can't be reproduced with a standard grid on the form with the latest version of the TAdvStringGrid and following code:
procedure TForm1.FormCreate(Sender: TObject);
begin
AdvStringgrid1.RowCount := 20;
AdvStringGrid1.FixedRows := 1;
AdvStringGrid1.FixedCols := 1;
AdvStringGrid1.ColWidths[0] := 20;
AdvStringGrid1.Options := AdvStringGrid1.Options + [goRowSizing, goEditing, goColSizing, goColMoving];
AdvStringGrid1.MouseActions.ColSelect:=true;
AdvStringGrid1.MouseActions.RowSelect:=true;
AdvStringGrid1.MouseActions.RangeSelectAndEdit:= true;
AdvStringGrid1.ReadOnly[1,10]:= true;
end;
Please note that default the grid has only 10 rows, you have to define the rowcount first before you set cell [1,10] readonly.
I did define the rowcount before setting the cell[1,10] to RO. I'll send you (tmssupport) the full project to reproduce the problem. Thanks Nancy.