delphi - Attach TEdit boxes to a TDBgrid column -


How can I add edit boxes to related grid columns, so this width will change when the user changes the column width and when If the user changes the order of the DBGR, then they move around.

form example

If you want to know that the column width has changed, then you can override the ColWidthsChanged . I do not know about a related event.

You can either override ColumnMoved to find columns, or you can attach a handler to OnColumnMoved event < / Div>

Comments