I have a TStringGrid with an OnDblClick-Event and in this event I want to get the row# which was double-clicked and work with them. But if the title row was double-clicked, nothing should happen.
does only work, as long as I double-click in a normal cell, but when I make a double-click in the title row, I get the last row# where the cursor has been before. So I cannot distinguish, if the title row was double-clicked.
How can I distinguish in this event, whether a normal cell or a title cell was double-clicked?
Thanks in advance. I use Lazarus 1.6.2 with FPC 3.0.0 on Win7.