I want a Stringgrid. I change the size of the columns.
This Stringgrid is connected to the database. However, I tried different methods; the column did not change. What should I do?
I want a Stringgrid. I change the size of the columns.
This Stringgrid is connected to the database. However, I tried different methods; the column did not change. What should I do?
Copyright © 2021 Jogjafile Inc.
Not sure what you mean by "lengths", i.e. their widths or their heights.
This code will change the lefthand column's width:
This link will show you how to "autosize" the grid's column widths:
How do I make a StringGrid's columns fit the grid's width?
In case you actually meant the heights of the cells, you can do this a row at a time like this:
Or, you can set the height of all rows at once like this: