Reputation: 557
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.
Upvotes: 1
Views: 340
Reputation: 613521
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.
Upvotes: 1