views:

376

answers:

2

I can go the long way round, loop over each row, get a TRect from CellRect(col, row), then query its State for gdSelected ...

But isn't there a quicker way to get the row number of the currently selected row, if any?

+4  A: 

Please have a look at TStringGrid.Row.

mghie
+4  A: 

.Row for selected row, .Col for selected column

André
D'oh! How on earth did I miss that??? Thanks, both. Andre answered first, so I award him the answer and up you both. If only all questions were this easy, eh?
Mawg