Forum > Beginners

First empty column in TStringGrid

(1/1)

Mario:
Hi,

i'm trying to follow this tutorial,

https://wiki.lazarus.freepascal.org/TStringGrid

but am stuck with the following: there is an additional empty column to the left that I don't know how to get rid of. So my question: what is this column and how do I get rid of it? It doesn't show in the object tree nor did I find anything in the StrinGrid object.

I've attached two screenshots, one of the form, one of the object tree.

Thanks for your help!

Zvoni:
FixedCols = 0

cdbc:
Hi
edit: Zvoni beat me to it  :D
In the ObjectInspector try to find the property 'FixedCols', it's probably set to '1', change that to '0' and see if that helps...
Regards Benny

Mario:
Thanks guys, that was it!

Navigation

[0] Message Index

Go to full version