I would like to return the contents of a cell in a string grid when the user finishes entering the data. The user is finished when pressing the enter key on the keyboard, or single- or double-clicking another cell.
In Lazarus there is a method of FinishedCellEditing, but not in Delphi. How can I detect it in Delphi?
Basically, there are many ways a user can end editing, and not all these are always a good interception point:
You need to ask yourself under which circumstances you want to update the content.
For instance: do you want to update it, when the user cancels out of a modal form, or ends the application?
--jeroen