[Solved] TStringGrid: how to "auotsize" a column by code? lazarus / 31-LCL ---------------------------------------------------------------------- Bart · 2012-06-17 12:36 Hi, In a StringGrid, I want to "autosize" a certain column by code, lust like the user double-clicked the border between the cols when option goColSizing is enabled. Is there a quick way to do so? Bart ---------------------------------------------------------------------- BigChimp · 2012-06-17 12:55 Have a look here: http://wiki.lazarus.freepascal.org/Grids_Reference_Page#procedure_Auto SizeColumn.28aCol:_Integer.29.3B ---------------------------------------------------------------------- Bart · 2012-06-17 14:30 Ooooh, if everything were that easy. I expected something complicated, so my search strategy was complicated also  Bart