Using FNCGRID adding comment to a col cell causes readonly to be cancel on that col

The following code will cancel readonly on columns[23] and change HorzAlignment to gtaleading. I tried to reset them after setting the comments value.
Why?
if FDTBL1.FieldByName('FOBPOINT').AsString = '3' then
BEGIN
SALESGrid.BeginUpdate;
SALESGrid.Comments[23,SALESGrid.FocusedCell.Row] := '12%';
SALESGRID.ColumnS[23].ReadOnly := TRUE;
SALESGRID.COLUMNS[23].HorzAlignment := gtaCenter;
SALESGrid.EndUpdate;
END
ELSE
if FDTBL1.FieldByName('FOBPOINT').AsString = '2' then
BEGIN
SALESGrid.BeginUpdate;
SALESGrid.Comments[23,SALESGrid.FocusedCell.Row] := '12%;20%';
SALESGRID.ColumnS[23].ReadOnly := TRUE;
SALESGRID.COLUMNS[23].HorzAlignment := gtaCenter;
SALESGrid.EndUpdate;
END
ELSE
BEGIN
SALESGrid.BeginUpdate;
SALESGrid.Comments[23,SALESGrid.FocusedCell.Row] := '';
SALESGRID.ColumnS[23].ReadOnly := TRUE;
SALESGRID.COLUMNS[23].HorzAlignment := gtaCenter;
SALESGrid.EndUpdate;
END

Once you use cell specific properties, you need to switch to HorzAlignments[Col, Row]

Ok, I will try, however, what about the readonly issue? The above code put it in edit mode instead of read only but it needs to stay in readonly for this cell.

Thanks
Garnet

Set UseColumns := False; and switch to OnGetCellProperties for individual cell configuration. Alternatively, you can switch to TTMSFNCDataGrid where this behavior has been improved.

Thanks
Garnet