TADVStringGrid and OnControlEditDone

Hi

I have a small problem and it is definitely not confined to the TMS components.

I have a TADVStringGrid and one of the cells utilizes a control form to accept input. If the user edits the controls value and then clicks directly on a separate Save button then the OnControlEditDone event attached to the grid is never triggered so the changes to this grid are not saved to the underlying class and so the save contains the original entry..

What is the best way to ensure that changes are saved in the event the user clicks directly away from the component when it is in edit mode?

I'm not sure what exactly you mean with: "utilizes a control form to accept input"
Do you popup somehow a new form to capture input?
If so, try to update the cell value from the form's OnClose event with

grid.Cells[col,row] := FormCaptureValue;