1

How can I attach the edit boxes to the corresponding grid columns, so it will change width when the user change the column width and move around when the user change the order of DBGraid columns.

Example of the form

Najem
  • 537
  • 4
  • 12

1 Answers1

1

If you want to know that the column widths have changed then you can override ColWidthsChanged. I'm not aware of a corresponding event.

For detecting columns having moved you can either override ColumnMoved or attach a handler to the OnColumnMoved event.

David Heffernan
  • 601,492
  • 42
  • 1,072
  • 1,490