[Lazarus] How to get rid of text in (0,0) in StringGrid?

Michael Van Canneyt michael at freepascal.org
Thu Feb 4 14:53:16 CET 2010



On Thu, 4 Feb 2010, Graeme Geldenhuys wrote:

> See the sceenshot posted in the following Mantis report.
>
>  http://bugs.freepascal.org/view.php?id=15679
>
> I would like to get rid of the "0" in the top left corner. It's very nice
> of TSringGrid to have the automatic option of adding row numbers, but I
> really don't think it should add the "0" in the top left automatically.
>
> Anyway, how to I get rid of it? Because cell (0,0) seems to be the cell
> editable by the user, not the cell in the column header (fixed row and
> fixed column).

0,0 normally is the top left cell, even with fixed row/column.

Maybe the row-numbers option changes that. Try doing the row-numbering yourself.

Michael.




More information about the Lazarus mailing list