--- El mar 30-nov-10, Mark Morgan Lloyd <[email protected]>
escribió:
>
> Is it possible to disable the selected-cell marker, i.e. to
> make the grid completely passive?
if you write an OnSelectCell event handler for the grid which do:
procedure TForm1.gridSelectCell(Sender: TObject; aCol, aRow: Integer;
var CanSelect: Boolean);
begin
CanSelect := false;
end;
The grid is effectively locked-down as there is no available cell to select, if
you want also to hide the focus rectangle do grid.FocusRectVisible := false;
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus