Hi Thaddy and GetMem. GetMem is correct in saying that the Sender is the Grid and not the Edit button. I think there is some confusing here. I'm declaring a grid column, button style to be dbsButtonColumn. This causes the entire cell to be filled with the text of the field (which is a calculated field) either the word "Edit" or the word "Delete". This looks nice. However, these "buttons" are not the same as the little "edit" button that appears as an ellipse in a column that is editable. So, here's the results:
I suspect Thaddy's suggestion is for the little edit button that appears in an editable column. GetMem is correct in that the Sender is the grid (in my case) My entire grid is readonly, so those buttons don't appear.
GetMem's code: First, thank you very much for the detailed explanation and screen shot. Makes it very clear.
However the event is not triggering. I have followed your code exactly. My project compiles without error. But when clicking any cell or any button, the event doesn't fire. I'm using Laz 1.9 and Fpc 3.1.1
I may just dump the button idea and use plain text with an underline, to make it look like a link.