Re: [Lazarus] Locking down a string grid

2010-11-30 Thread Jesus Reyes
--- 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:

[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