[SOLVED] TStringGrid: Resize columns while header is hidden lazarus / 31-LCL ---------------------------------------------------------------------- EganSolo · 2021-02-13 23:45 If I hide the header in a TStringGrid and TValueListEditor, it disables the ability to resize columns even if goCellSizing is true. Am I missing another option that I need to set? If not, I'm thinking I would need to implement the following events: 1. OnMouseMove: figure out if the mouse is over a vertical line and if so, change the mouse shape to the resize icon. I'm having some challenges figuring out how to turn a mouse coordinate into a vertical line coordinate? I suppose I could call MouseToCell, then figure out if I'm at the left or right edge of the cell? Does this make sense? 2. On subsequent OnMouseMove, I would change the width of the cell left of the mouse position and then invalidate the grid. Does this make sense or is there a more straightforward, grid centric way of doing this? ---------------------------------------------------------------------- wp · 2021-02-14 00:25 Set Grid.ExtendedColSizing to true in order to enable col sizing everywhere in the grid, not only in the header (https://wiki.lazarus.freepascal.org/Grids_Reference_Page). This property is not published, you must set it at runtim, for example in the form's OnCreate event. ---------------------------------------------------------------------- EganSolo · 2021-02-14 07:16 Thanks, wp! That did it.