--- El mar 30-nov-10, Mark Morgan Lloyd <markmll.laza...@telemetry.co.uk> 
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
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to