Recent

Author Topic: GoColSizing / GoRowSizing doesn't work without fixed columns and rows?  (Read 5854 times)

NOPIK

  • New Member
  • *
  • Posts: 11
Why??? What I'm doing wrong?

jesusr

  • Sr. Member
  • ****
  • Posts: 482
Nothing, supposedly resizing a column requires at least one fixed row, because it's in between two fixed cells where you put the mouse pointer and start the resize action. However in Lazarus there is a grid property that could help in this case as it allows col sizing all along the column height. Use it like this:

Code: [Select]
  grid.ExtendedColSizing := true;

There is also a ExtendedRowSizing but it's not currently enabled as it has not been tested, if you need it I will enable it ASAP.

NOPIK

  • New Member
  • *
  • Posts: 11
Thanks!
Column sizing works like a charm!
So, I will not implement additional functionality - and rebuild Lazarus, if I'll need it desperately.
It was my main concern - do it myself, or rely on future Lazarus functionality.
BTW, why these properties separated from grid style Options?
Thank you, again, for poining me to the right direction!

 

TinyPortal © 2005-2018