Alex
Alex

Reputation: 553

Delphi XE4 stringgrid selectcell in FireMonkey

Does anyone know how to retrieve the column and row when selecting a cell in a FireMonkey stringgrid (in other words, when clicking on a cell, we want to know which column/row is being selected)...?

We are using Delphi XE4.

Thanks in advance.

Upvotes: 2

Views: 2174

Answers (1)

Peter
Peter

Reputation: 2977

To get the index of the current Row, use the Selected property.
To get the index of the current Column, use the ColumnIndex property.

Upvotes: 4

Related Questions