简体   繁体   中英

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.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM