LucieLastic
Programmer
hi
How can I restrict which cells a user can edit in a StringGrid?
I was trying this but it puts values in even if the conditions are true, think I'm on the wrong lines...
procedure TFormMain.gridColumnsSetEditText(Sender: TObject; ACol,
ARow: Integer; const Value: String);
begin
if ARow = 0 then exit;
if ACol <= 2 then exit;
gridColumns.Cells[ACol, ARow] := Value;
end;
Thanks for any help
lou
How can I restrict which cells a user can edit in a StringGrid?
I was trying this but it puts values in even if the conditions are true, think I'm on the wrong lines...
procedure TFormMain.gridColumnsSetEditText(Sender: TObject; ACol,
ARow: Integer; const Value: String);
begin
if ARow = 0 then exit;
if ACol <= 2 then exit;
gridColumns.Cells[ACol, ARow] := Value;
end;
Thanks for any help
lou