Re: [Lazarus] Locking down a string grid

2010-11-30 Thread Jesus Reyes
--- El mar 30-nov-10, Mark Morgan Lloyd 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

[Lazarus] Locking down a string grid

2010-11-29 Thread Mark Morgan Lloyd
If using a string grid in a panel on a form, with the grid set r/o and the containers sized to be a good fit, what's the right way to prevent the user from moving the selected cell which is causing the grid to move around the available space? Is it possible to disable the selected-cell marker,